Error but can’t figure why!
-
HI There,
Having a problem with a theme I’m building, most of the code is copied from another theme or the wordpress codex but the best i can get is a print showing an error on line 4.
Parse error: parse error in C:\xampp\htdocs\wordpress\wp-content\themes\mcwebdes1\index.php on line 4
I have checked the loop by changing the index to the basic loop and that doesn’t help. I’ve been through the header below inch by inch but can’t work out what might be wrong!
Any ideas?
Thanks
Matt
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml” <?php language_attributes(); ?> >
<head>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>” charset=”<?php bloginfo(‘charset’); ?>”/>
<title>
<?php wp_title(‘«’, true, ‘right’); ?>
<?php bloginfo(‘name’); ?>
</title><style type=”text/css” media=”screen”>
<?php bloginfo(‘stylesheet_url’); ?>
/*@import url( <?php bloginfo(‘stylesheet_url’); ?> );*/
</style><link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
<?php wp_get_archives(‘type=monthly&format=link’); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
</head>
<body><div id=”container”>
<div id=”header”>
<h2>
<a href=”
<?php bloginfo(‘url’); ?>/”>
<?php echo bloginfo(‘name’); ?></h2>
<div id=”search”>
<?php get_search_form(); ?>
</div></div>
<div id=”menu”>
-
<?php wp_list_pages (‘title_li=’); ?>
</div>
- The topic ‘Error but can’t figure why!’ is closed to new replies.