Title: Parse error: syntax error, unexpected T_STRING /index.php on line 17
Last modified: August 19, 2016

---

# Parse error: syntax error, unexpected T_STRING /index.php on line 17

 *  [jaxxxk](https://wordpress.org/support/users/jaxxxk/)
 * (@jaxxxk)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-indexphp-on-line-17/)
 * Please help, I am building my own wordpress theme based on instruction found 
   at [http://www.embedwordpress.com/](http://www.embedwordpress.com/) which I have
   done many times before.
 * I have’t done this in a while though and my latest attempt is producing the error:
   Parse error: syntax error, unexpected T_STRING in /home/webho48/public_html/activityskiclub.
   co.uk/blog/wp-content/themes/activityskiclub/index.php on line 17
 * The blog is hosted here:
    [http://activityskiclub.co.uk/blog/](http://activityskiclub.co.uk/blog/)
 * I cannot understand why this is happening can anyone shred any light on this?
   Line 17 is below. Any help is GREATLY appreciated.
 * `<span class="more"><em><a href="<?php the_permalink(); ?>">Continue reading</
   a></em></span>`
 * Thanks!
    Luke

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-indexphp-on-line-17/#post-1903612)
 * Try looking just **before** Line 17.
 *  Thread Starter [jaxxxk](https://wordpress.org/support/users/jaxxxk/)
 * (@jaxxxk)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-indexphp-on-line-17/#post-1903617)
 * Hi esmi,
 * Thanks for the reply, could it be `<?php the_content("); ?>` then? I have copied
   my entire index.php file below.. Is there anything really obvious there that 
   I am missing?
 * Thanks again..
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_

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

The topic ‘Parse error: syntax error, unexpected T_STRING /index.php on line 17’
is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [jaxxxk](https://wordpress.org/support/users/jaxxxk/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-indexphp-on-line-17/#post-1903617)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
