[Resolved] Recent Posts widget delivers Parse Error for single.php
When clicking on a “recent post” in the sidebar of my Twenty Ten child template (www.intouchcalls.com/blog), I get the following error:
Parse error: syntax error, unexpected $end, expecting T_VARIABLE or T_DOLLAR_OPEN_CURLY_BRACES or T_CURLY_OPEN in /home/content/76/10560376/html/blog/wp-content/themes/twentyten/single.php on line 28
The single.php code looks like this:
<?php /** * The Template for displaying all single posts. * * @package WordPress * @subpackage Twenty_Ten * @since Twenty Ten 1.0 */ get_header(); ?> <div id="container"> <div id="content" role="main"> <?php /* Run the loop to output the post. * If you want to overload this in a child theme then include a file * called loop-single.php and that will be used instead. */ get_template_part( 'loop', 'single' ); ?> </div><!-- #content --> </div><!-- #container --> <?php comments_template(",true); ?> <?php get_sidebar(); ?> <?php get_footer(); ?>
[Moderator Note: Please post code & markup between backticks (not single quotes) or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
I’ve already deactivated all plugins, reinstalled a fresh WordPress version and tried a different theme. All have the same issue.
What do you think?
Thanks for your help.
- The topic ‘[Resolved] Recent Posts widget delivers Parse Error for single.php’ is closed to new replies.