Help! Screwed up my header file
-
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() ) { ?> » Not found<?php } elseif (is_day() || is_month() || is_year() ) { ?> » Archives<?php } elseif ( is_category() ) { ?> » Archives » Category<?php } elseif ( is_author() ) { ?> » Archives » Author <?php echo "» " . $curauth->user_nickname; ?><?php } elseif ( is_search() ) { ?> » <?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.
- The topic ‘Help! Screwed up my header file’ is closed to new replies.