Viewing 1 replies (of 1 total)
  • Hi,

    1) Access your WordPress directory through cPanel and Open the wp-content folder.
    2) Inside the wp-content folder, locate the themes folder and open it.
    3) Locate functions.php and remove the code you have inserted or replace the functions.php file with working version of functions.php.
    4) You can find working version of this file from the backup you have prior to performing maintenance or it can be the original version that came with your theme.

    In the event you don’t want to overwrite functions.php, you can rename the folder for your current theme, which will deactivate it and revert to the default WordPress theme.

    At this point, you can manually remove any offending code from the functions.php file in the inactive theme and reactivate it when you’re ready.

Viewing 1 replies (of 1 total)

The topic ‘Lost website’ is closed to new replies.