Hello! I am having trouble with a code in my wordpress, single.php page. My website is: http://www.cali-landchic.com
When clicking on certain links with plugins (facebook share/nrelate/add a comment, etc.) the link goes to a blank page with the following code showing:
Parse error: syntax error, unexpected ‘<‘ in /home/content/96/8886796/html/wp-content/themes/picture-perfect/single.php on line 11
My line 11 code on single.php is:
<p><?php the_content(‘<p class=”serif”>Read the rest of this entry »</p>’);</p>
When I remove this code all together and refresh, the link tries to find the post but comes back with just the title/author, etc. and no post content.
Can someone please help me with what the code should be to get all these links working properly. I’ve been scratching my head for a few weeks now and have not gotten anywhere. Thanks in advance!
- The topic ‘Single.php Line 11’ is closed to new replies.