Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Parse Error

$
0
0

Hi.

 

I am relatively new to php and am trying to code a wordpress theme from scratch. In my header.php I am getting an error:

 

Parse error: syntax error, unexpected ';' in /home/storybou/public_html/wp-content/themes/mint-strawberry/header.php on line 7

 

Here is the full code for header.php:

 

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><?php wp_title('«', true, 'right'); ?><?php bloginfo('name'); ?></title>

<link href="<?php bloginfo('sylesheet_url'; ?>")" rel="stylesheet" />

<link href='http://fonts.googleapis.com/css?family=Amatic+SC' rel='stylesheet' type='text/css'>

<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<!--[if lt IE 9]>
<link href="<?php bloginfo('template_url'); ?>/css/ie.css" rel="stylesheet" />
<![endif]-->

<!--WP generated header-->
<?php wp_head(); ?>
<!--End WP generated header-->

</head>

<body>
<div id="container">
    <header>
	<h1><a href="<?php echo get_option('home'); ?>" title="A Story About A Girl">A Story About A Girl</a></h1>
		<nav role="navigation">
	    	    <ul>
			<li><?php wp_list_pages('title_li=' ); ?>
		    </ul>
		</nav>
    </header>
	

 

 

I am not sure what is the best way to figure out where the error is. I know a line is given but I can't find anything on that line and know it may not really be relative to what I am seeing. Is there another way to look? A program I can use or a method or something.


Any help would be greatly appreciated. Thanks.

Attached Files


Viewing all articles
Browse latest Browse all 13200

Trending Articles