Support » Fixing WordPress » Site Shut down

  • Resolved joyfulhealthyeats

    (@joyfulhealthyeats)


    I added this code:
    <?php the_post_thumbnail();?>
    <?php the_excerpt(); ?>

    to my custom.function.php file and now I cannot access my website or wp admin page to delete the code.

    Help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • If your not familiar with PHP syntax you should never edit theme files using the dashboard editor.

    You caused a PHP Fatal error unexpected <. You need to make sure any previous open tags, <?php, are closed, ?> before opening another tag.

    You will need to access that file using an FTP program and code editor or if on a shared host you can probably use the control panel built in code editor.

    Thanks Chris. I found it using FTP, think I needed to walk away and then come back with clear eyes. I appreciate the help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Site Shut down’ is closed to new replies.