Title: Parse error: syntax error, unexpected &#039;
Last modified: August 19, 2016

---

# Parse error: syntax error, unexpected '

 *  [marusa](https://wordpress.org/support/users/marusa/)
 * (@marusa)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-23/)
 * Hello,
 * Can someone please explain what seems to be a problem in this 24 line??
 * I get this error: Parse error: syntax error, unexpected ‘<‘ in /home/ironman/
   public_html/wp-conten
 * $default_footer_content = “[Contact Us](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-23/?output_format=md#)
   | [Terms of Use](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-23/?output_format=md#)
   | [Trademarks](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-23/?output_format=md#)
   | [Privacy Statement](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-23/?output_format=md#)
   
   Copyright ©

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [marusa](https://wordpress.org/support/users/marusa/)
 * (@marusa)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-23/#post-1889206)
 * `$default_footer_content = "<a href='#'>Contact Us</a> | <a href='#'>Terms of
   Use</a> | <a href='#'>Trademarks</a> | <a href='#'>Privacy Statement</a>Copyright
   © 2009 ".get_bloginfo('name').". All Rights Reserved.";`
 * This is line 24 and 25`
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-23/#post-1889208)
 * can you paste the full code (at least up to line 25 included) into a [http://wordpress.pastebin.com/](http://wordpress.pastebin.com/)
   and post the link to it here?
 * there must be something **before **the line 24 that is triggering the error.
 *  Thread Starter [marusa](https://wordpress.org/support/users/marusa/)
 * (@marusa)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-23/#post-1889213)
 * This is the code with 25 line included.
 *     ```
       <?php
   
       if ( function_exists('add_theme_support') )
   
       	// This theme uses post thumbnails
       	add_theme_support( 'post-thumbnails' );
   
       	// This theme uses wp_nav_menu()
       	add_theme_support( 'nav-menus' );
   
       $artThemeSettings = array(
       	'menu.showSubmenus' => true,
       	'menu.homeCaption' => "Home",
       	'menu.showHome' => true,
       	'menu.topItemBegin' => "<span class=\"l\"></span><span class=\"r\"></span><span class=\"t\">",
       	'menu.topItemEnd' => "</span>"
       );
   
       load_theme_textdomain('kubrick');
   
       $themename = "modrosiva";
       $shortname = "artisteer";
       $default_footer_content = "<a href='#'>Contact Us</a> | <a href='#'>Terms of Use</a> | <a href='#'>Trademarks</a> | <a href='#'>Privacy Statement</a><br />Copyright &copy; 2009 ".get_bloginfo('name').". All Rights Reserved.";
       ```
   
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-23/#post-1889219)
 * my editor sees only 23 lines; can you post a few more lines?
 * this is the beginning of line 23 as i see it: `$default_footer_content = ........`
 *  Thread Starter [marusa](https://wordpress.org/support/users/marusa/)
 * (@marusa)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-23/#post-1889221)
 * Ok so here is the whole php. funcitons file
 * _[moderated: huge chunk of code removed, according to [forum rules](http://codex.wordpress.org/Forum_Welcome).
   please use a [pastebin](http://wordpress.pastebin.com/)]_
 *  Thread Starter [marusa](https://wordpress.org/support/users/marusa/)
 * (@marusa)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-23/#post-1889226)
 * Tnx for your concern but I have already solved the problem…
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-23/#post-1889228)
 * well done 😉
 * please mark this thread as resolved.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Parse error: syntax error, unexpected '’ is closed to new replies.

## Tags

 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-23/#post-1889228)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
