WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Site Shut down (3 posts)

  1. joyfulhealthyeats
    Member
    Posted 1 year ago #

    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!

  2. 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.

  3. joyfulhealthyeats
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags