• Resolved violetness6

    (@violetness6)


    Here is the error I am getting when trying to view a single post on my blog:

    Parse error: syntax error, unexpected T_STRING in /home/vanessa/public_html/wp-content/themes/three-column-colorfull/single.php on line 17

    Here is the code for the single post:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Can anyone help me with this please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Use a text editor like notepad++ it is free, and has colored code and line numbers.

    The error says line 17

    Line 17 = <?php the_content<?php the_content(); ?>

    You have an extra text in there, it should be <?php the_content(); ?>

    Use pastebin in the future when adding large blocks of code.

    HTH

    David

    Thread Starter violetness6

    (@violetness6)

    Thank you for your help, that worked! I tried to use PasteBin, but had no idea what to do when I got there. ?? And thanks for the tip on Notepad++, I could not find anything with line numbers, that drives me nuts lol!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parse Error on single post view’ is closed to new replies.