Forums
Forums / Fixing WordPress / Sidebar Dysfunction
(@notdrugs)
16 years, 9 months ago
Dear WordPress community,
I’ve using the Scarlett theme by Jinsona, on WP 2.8.+.
It has three sidebars.
The first one works fine, but the second sidebar is where I’m having trouble.
Here’s the code:
<div class="sidebar2"> <ul> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('sidebar 2') ) : else : ?> <li> <a href="<?php the_permalink(); ?>"><?php the_title();?></a> </li> </ul> </div>
And here’s the error that it turns up:
Parse error: syntax error, unexpected $end in /wp-content/themes/scarlett/scarlett/sidebar2.php on line 10
If anybody could help, or if you need more information let me know.
Thanks a lot!
(@kperrone)
can you copy & paste lines 1-15 from sidebar2.php?
Thanks for responding kperrone,
That’s the file’s entirety.
The topic ‘Sidebar Dysfunction’ is closed to new replies.