Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter harmsm

    (@harmsm)

    I’ve copied the single quotes from a functional php file but get the same error.

    Could it be something with the syntax of the code?

    Thread Starter harmsm

    (@harmsm)

    I tried the code provided above and got the error message:

    Parse error: parse error in c:\xampp\htdocs\wordpress\wp-content\themes\test\header.php on line 3.

    What I did was copy the code you provided above and paste it into a header file and saved it as header.php.

    I used my original header.php file and created two files called headerdefault.php and headerblog.php. This was just to test if everything would work.

    Would you know what would cause the parse error?

    Thanks

    Thread Starter harmsm

    (@harmsm)

    Thanks for the code. I’m not overly clear on what is meant by the posts page.

    Let me clarify. On the blog home page, I would like to use one header. On the other pages of the blog (categories, archives, etc), I would like to use a different header.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)