• Hi guys, I am sweating bullets right now. I’m a WP noob and have spent the past few days learning the ropes and tinkering with twentytwelve. I was going through the forums and various websites trying to figure out how to get a logo into the header, when I found a plugin that I thought might help. I followed its instructions, including adding
    <?php if(function_exists('chi_display_header')) { chi_display_header(); } ?>

    to functions.php. When I tried to click Update file, I got the following error:

    Parse error: syntax error, unexpected ‘<‘ in /home/cfsnadmin/new.cafarmtoschool.org/wp-content/themes/twentytwelve/functions.php on line 511

    And then I removed the code from functions.php, and it’s still saying it. I can’t access the website at all.

    Please help–I can’t figure out how to go back to normal!

    Pastebin link to functions.php.

    Thank you.

Viewing 1 replies (of 1 total)
  • Try again without the PHP opening tag <?php and without the PHP closing tag ?> So basically just

    if(function_exists('chi_display_header')) { chi_display_header(); }

Viewing 1 replies (of 1 total)

The topic ‘Parse error’ is closed to new replies.