Looks to me like your themes call to the sidebar is inside the comments div. Edit page.php and or single.php and move the
<?php get_sidebar(); ?>
to where it belongs.
example of validation errors of one single post:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.bouncetillidie.co.uk%2Findex.php%2F2012%2F04%2Fwelcome-to-bounce-till-i-die%2F&charset=%28detect+automatically%29&doctype=Inline&group=0
the three instances of ‘end tag for “div” omitted, but OMITTAG NO was specified’ point to missing closing divs </div>
in your code –
because single posts show properly when you are logged in, these might possibly come from the comments template (???); maybe in some conditional sections which check if the user is logged in.
do you have the same problem with an unedited theme?
what happens if you switch to the default theme Twenty eleven?
what happens if you disable all plugins?
if those general troubleshooting steps don’t solve the problem, you need to contact the theme’s seller.
Thread Starter
skwish
(@skwish)
guys i reallly appriciate you’s taking time to try and throw suggestions for solving this prob 8o)
@flashbuddy
i checked both page.php and single.php but in both the php get_sidebar tag is in the right place as far as i can tell (or i might be missing something)
<?php get_header('single'); ?>
<div id="body" class="single">
<?php if ( get_option('layout') == 'right_sidebar' ) echo '<div id="content" style="float:left;margin-left:22px;">'; else echo '<div id="content" style="float:right;margin-right:42px;">';?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="postMain"></div>
<div class="post">
<div class="date_title">
<div class="date_back">
<div class="month"><?php the_time('M') ?></div>
<div class="day"><?php the_time('d') ?></div>
</div>
<h1><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
</div>
<?php if ( has_post_thumbnail() ) {
$mypostimage = the_post_thumbnail( 'large', array('class' => 'featsingle' , 'alt' => get_the_title() , 'title' => get_the_title() ));
the_content(); } else { the_content(); } ?>
<div class="postMeta"><?php the_tags('Tags: ', ', ', '<br />'); ?> <?php _e("Posted in ","language"); ?> <?php the_category(', ') ?> <br /> <?php _e("By ","language"); ?> <?php the_author_posts_link() ?><br/><?php _e("Comments: ","language"); ?> <?php comments_popup_link('0 »', '1 »', '% »'); ?></div>
<div style="clear:both;"></div>
</div>
<div style="clear:both">
<div class="postFoot"></div>
</div>
<?php endwhile; ?>
<div class="commentsMain">
<?php comments_template(); ?>
</div>
<?php else : ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
@alchymyth …. checked the comments template for uncloded tags as mentioned, well i ran the code through dreamweavers ‘tidy html’ function as i dont know any other way to do it but it said there was no changes needed.
tried changing themes for the default theme and everything seem to be where it should be so i think it definatly boils down to an issue with the theme im using although ive no idea where to start looking to fix it 8o/
Thread Starter
skwish
(@skwish)
de-activating all plugins makes no diffrence either