The template structure is different from the “frontpage”. On your frontpage the div#body_right (sidebar) is inside the div#body wrapper ↓
<body>
<div id="page">
<div id="header"></div>
<div id="menu"></div>
<div id="body">
<div id="body_left">...</div>
<div id="body_right">...</div>
</div> <!-- /#body wrapper -->
<div class="clear"/>
<div id="footer">...</div>
</div>
</body>
but on single page the div#body_right is outside the div#body wrapper ↓.
<body>
<div id="page">
<div id="header"></div>
<div id="menu"></div>
<div id="body">
<div id="body_left">...</div>
</div> <!-- /#body wrapper -->
<div id="body_right">...</div>
<div class="clear"/>
<div id="footer">...</div>
</div>
</body>
its pretty obvious what you need to do. double check your single.php (if there is any)
Hi thanks for the pointer but looking at my single.php I can’t seem to find the right area to edit. I’ve included the contents of it if anyone would care to help?
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="post-top">
<div class="post-title">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php if ( function_exists('the_title_attribute')) the_title_attribute(); else the_title(); ?>"><?php the_title(); ?></a></h2>
<h3>
Filed Under (<span><?php the_category(', ') ?></span>) by <span><?php the_author() ?></span> on <?php the_time('d-m-Y') ?>
</h3>
<?php if ( function_exists('the_tags')) the_tags('<h4>Tagged Under : <span>', ', ', ' </span></h4>'); ?>
</div>
</div>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
<!--<div class="postmetadata">
<div class="alignright">
<a><?php comments_number('<span>(0)</span> Comments', '<span>(1)</span> Comment', '<span>(%)</span> Comments'); ?></a>
<?php edit_post_link('Edit', '', ' '); ?>
<a class="readmore" href="<?php the_permalink() ?>" ><span>Read More</span></a>
</div>-->
<div class="clear"></div>
</div>
</div>
<?php comments_template(); ?>
<?php endwhile; else: ?>
<p>Sorry, no posts matched your criteria.</p>
<?php endif; ?>
</div>
<?php get_footer(); ?>
Any help would be greatly appreciated!
Thanks
ok I’d check the file myself the sidebar code is inside the footer.php
I see the code in footer.php but I’ve never edited that code.
I’ve restored the original footer.php and single.php and index.php to no avail – the only other code I’ve edited would be style.css as far as I can remember.
Okay so I worked it out – I had disabled comments and when renabled it all worked again – weird!