Parse error: syntax error, unexpected T_STRING in /home/sites/mysite/public_
-
When I go to my blog page I’m getting:
Parse error: syntax error, unexpected T_STRING in /home/sites/shraco.com/public_html/naturalgardening/blog/wp-content/themes
/default/header.php on line 13I can’t find anything in the header.php file. I disabled the latest plugin and took out some linked text in my last post. Those are the only two things I added recently. It worked fine with the plugin activated last night but disabled it to see if that was the problem. It wasn’t.
Please help
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” <?php language_attributes(); ?>><head profile=”http://gmpg.org/xfn/11″>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<?php
global $wp_query, $post;
$meta_description=get_post_meta($post->ID, “html_meta_description”,true);
$meta_keywords=get_post_meta($post->ID, “html_meta_keywords”, true);
$meta_title=get_post_meta($post->ID, “html_meta_title”, true);if($meta_keywords)
print ‘<meta name=”Keywords” content=”‘.$meta_keywords.’” />’;
if($meta_description)
print ‘<meta name=”Description” content=”‘.$meta_description.’” />’;
?><?
if($meta_title)
print “<title>$meta_title</title>”;
else
{
?>
<title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<?
}
?>
<link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
<link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” /><style type=”text/css” media=”screen”>
<?php
// Checks to see whether it needs a sidebar or not
if ( !empty($withcomments) && !is_single() ) {
?>
#page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbg-<?php bloginfo(‘text_direction’); ?>.jpg”) repeat-y top; border: none; }
<?php } else { // No sidebar ?>
#page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgwide.jpg”) repeat-y top; border: none; }
<?php } ?></style>
<?php wp_head(); ?>
</head>
<body>
<div id=”page”><div id=”header”>
<div id=”headerimg”>
<h1>/”><?php bloginfo(‘name’); ?></h1>
<div class=”description”><?php bloginfo(‘description’); ?></div>
</div>
</div>
<hr />
The topic ‘Parse error: syntax error, unexpected T_STRING in /home/sites/mysite/public_’ is closed to new replies.