Jump to content

Parse Error


StoryBoutAGirl06
Go to solution Solved by requinix,

Recommended Posts

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.

footer.php.txt

Edited by StoryBoutAGirl06
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.