Forums

Parse error: syntax error, unexpected T_STRING /index.php on line 17 (3 posts)

  1. jaxxxk
    Member
    Posted 2 years ago #

    Please help, I am building my own wordpress theme based on instruction found at 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/

    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

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Try looking just before Line 17.

  3. jaxxxk
    Member
    Posted 2 years ago #

    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. Please use the pastebin]

Topic Closed

This topic has been closed to new replies.

About this Topic