Parse error: syntax error
-
I’m trying to upload my own theme, using the book “WordPress 2.7 Complete” as a guide. I got to up to page 134 (after typing out all of the PHP code, only without those meta tags she has on her blog) and I got this when I tried to view my site:
Parse error: syntax error, unexpected T_STRING in /home/content/t/r/e/tremak/html/wordpress/wp-content/themes/brown_theme/index.php on line 4
Of course, line 4** is the beginning of my PHP code:
<!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”><head>
**<title><?php wp_title(‘«’ true, ‘right’); ?>
<?php bloginfo(‘name’); ?></title>
<style type=”text/css”>
@import url(“<?php bloginfo(‘stylesheet_url’); ?>”);
</style>
<link rel=”alternate”
type=”application/rss+xml”
title=”<?php bloginfo(‘name’); ?> RSS Feed”
href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”alternate”
type=”application/atom+xml”
title=”<?php bloginfo(‘name’); ?> Atom Feed”
href=”<?php bloginfo(‘atom_url’); ?>” />
<link rel=”pingback”
href=”<?php bloginfo(‘pingback_url’); ?>” />
<?php wp head(); ?></head>
The topic ‘Parse error: syntax error’ is closed to new replies.