• I was playing with my header file (truing to get the post title to come before the blog title) and I screwed up the file somehow. Now my pages show the error message:

    Parse error: parse error, unexpected ‘}’ in /home/blogdirectory/public_html/wp-content/themes/retrospotive/header.php on line 8

    Here is the code I played with:

    <?php $curauth = get_userdata($author); ?>
    <title><?php } ?><?php bloginfo('name'); ?><?php if( is_404() ) { ?> &raquo; Not found<?php } elseif (is_day() || is_month() || is_year() ) { ?> &raquo; Archives<?php } elseif ( is_category() ) { ?> &raquo; Archives &raquo; Category<?php } elseif ( is_author() ) { ?> &raquo; Archives &raquo; Author <?php echo "&raquo; " . $curauth->user_nickname; ?><?php } elseif ( is_search() ) { ?> &raquo; <?php echo "Search Results for " . wp_specialchars($s) ; ?><?php wp_title(); ?></title>

    I tried downloading the theme again and copy-pasting the code from there, but to no avail.

    Does anyone know what’d wrong with this?

    Thanks.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Help! Screwed up my header file’ is closed to new replies.