Forums

header php editor (7 posts)

  1. snows123
    Member
    Posted 8 months ago #

    I get this on all my posts and pages
    Parse error: syntax error, unexpected '<', expecting ')' in /home/content/s/n/o/snows1/html/wp-content/themes/inspiration/header.php on line 9
    I did somethin wrong http://healthyfitnessgroup.com/

  2. stvwlf
    Member
    Posted 8 months ago #

    You have a stray < character in your header file.

    Post your header.php code in a pastebin http://wordpress.pastebin.ca/ and post the URL here

  3. snows123
    Member
    Posted 8 months ago #

  4. stvwlf
    Member
    Posted 8 months ago #

    Hi

    You had some bad code in your header.php I pasted the corrected code here http://wordpress.pastebin.ca/1376034

    There had been an attempt to customize the <title> in the <head> section. That code was all messed up so I removed it and pasted in the <title> from the default WordPress theme. You can update it as you like.

    I like using the All in One SEO Pack plugin as it automatically generates context-sensitive page titles on each page and post.

  5. snows123
    Member
    Posted 8 months ago #

    when You update it,you mean copy and past it in my header in my editor

  6. stvwlf
    Member
    Posted 8 months ago #

    Hi - take the code I pasted in the pastebin and replace the contents of header.php with that code. Before you do that make a copy of header.php as it is now, in case I made any mistakes.

    Save that pasted in code as the new header.php. Then upload it to your webserver using FTP. After you do so you can make any changes you care to, to the code I fixed. The first step is getting your site working correctly with a more generic header.php

  7. snows123
    Member
    Posted 8 months ago #

    thanks alot
    snows123

Reply

You must log in to post.

About this Topic

Tags