Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Check for spaces at the top of the file you just edited. You need to have a character of some sort on the first line, no blank space at the beginning.

    I am having the same trouble, using the exact code but keep getting this eror: “Parse error: syntax error, unexpected ‘<‘ in /home/content/d/e/a/dear429thyroid/html/wp-content/themes/republica/header.php on line 8”

    Line 8 being the first <?php for get_header

    <?php
    if (is_page('6')){
    	<?php get_header('header-headerabout'); ?>
    }
    elseif (is_page('1813')){
    	<?php get_header('header-headercontactus'); ?>
    }
    else {
    	<?php get_header('header-headerdefault'); ?>
    }
    ?>

    The install is the very latest version of WP and I just don’t see why it’s not working. Any help would be appreciated

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