• Resolved m1nna

    (@m1nna)


    While editing the single.php page, I deleted some code without backing up the original code. I deleted the gray area text above the comment post. The code I deleted was in this code:

    <p class=”postmetadata alt”>
    <small>
    <?php } edit_post_link(‘Edit this entry.’,”,”); ?>
    </small>

    I’m now getting an error message when you click on “comments” that says:

    Parse error: syntax error, unexpected ‘}’ in /home/monennac/public_html/wp-content/themes/default/single.php on line 22

    I am a newbie using WordPress, so I appreciate any help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Don’t mess with the code if you don’t know what are you doing.
    Download the WP package and get a fresh copy of the theme.
    Or, if it was another theme… get a new copy of that.

    Thread Starter m1nna

    (@m1nna)

    thanks… i will do that.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Recovering default code’ is closed to new replies.