• Please help, I am building my own wordpress theme based on instruction found at https://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:
    https://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)
  • Try looking just before Line 17.

    Thread Starter jaxxxk

    (@jaxxxk)

    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]

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.