Title: Parse error
Last modified: August 19, 2016

---

# Parse error

 *  [Phenix](https://wordpress.org/support/users/phenix/)
 * (@phenix)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/parse-error-14/)
 * I’m working to learn how to create my own templates. I started fresh and with
   the bare minimum code so I can see how it works, but once I uploaded it and attempted
   to look at it I received a parse error and I’m not sure why or how to fix it.
   Any help would be greatly appreciated
 * >  Parse error: syntax error, unexpected ‘;’ in /mnt/w0603/d08/s07/b025e6a3/www/
   > bohemianrefuge/wp-content/themes/The Bohemian Refuge/header.php on line 7
 * header.php
 *     ```
       <!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 bloginfo(’name’); ?><?php wp_title(’ &raquo; ‘,display); ?>
           <?php if(is_search()) { ?> &raquo; Search Results for <?php echo wp_specialchars($s); ?><?php } ?>
           </title>
   
           <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo(’charset’); ?>" />
           </meta><meta name="generator" content="WordPress <?php bloginfo(’version’); ?>" />
           </meta><meta name="description" content="<?php bloginfo(’description’); ?>" />
   
           <link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo(’stylesheet_url’); ?>" />
           <link rel="alternate" type="application/rss+xml" title="Subscribe to <?php bloginfo(’name’); ?>" href="<?php bloginfo(’rss2_url’); ?>" />
           <link rel="alternate" type="application/rss+xml" title="Subscribe to <?php bloginfo(’name’); ?>" href="<?php bloginfo(’rss_url’); ?>" />
           <link rel="alternate" type="application/rss+xml" title="Subscribe to <?php bloginfo(’name’); ?>" href=" <?php bloginfo(’atom_url’); ?>" />
   
           <?php wp_get_archives(’type=monthly&format=link’); ?>
   
           <?php wp_head(); ?>
           </head>
   
       	<body> <body link="#188494" vlink="#188494" text="#000000">
   
       	<ul id="menu"> <li class="<?php if (((is_home()) && !(is_paged())) or (is_archive()) or (is_single()) or (is_paged()) or (is_search())) { ?>current_page_item<?php } ?>"><a href="<?php echo get_settings(’home’); ?>">Home</a></li> <?php wp_list_pages(’sort_column=menu_order&depth=1&title_li=’); ?> </ul>
       ```
   
 * Am I doing something wrong?

Viewing 1 replies (of 1 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/parse-error-14/#post-700768)
 * You have “curly” quotes in this line:
    `bloginfo(’name’` instead of straight 
   ones like: `bloginfo('name'`

Viewing 1 replies (of 1 total)

The topic ‘Parse error’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/parse-error-14/#post-700768)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
