• hi there,

    i could really use a hand. since i installed wp 2.3 i have a problem with my blog ( https://www.boioglu.ro ). i cannot see the comments box, sidebar and footer on my single post pages.
    this is the code. please HELP!

    <?php get_header(); ?>
    
    	<div id="content" class="widecolumn">
    
      <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    		<div class="post" id="post-<?php the_ID(); ?>">
    			<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    
    			<div class="entry">
    				<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
    
    				<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
    
    	<div>
    
    ----<small>
    <? if (function_exists('social_bookmark')) { social_bookmark(); } ?> 
    
    </div>				
    
    				<b>tag>></b> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/blog/documents.gif" alt="" /> <?php the_category(', ') ?>
    
    <img src="<?php bloginfo('stylesheet_directory'); ?>/images/blog/figure_ver1.gif" alt="" /> postat de <?php the_author(); ?> la <?php the_time(); ?>			 
    
    	</div>
    	</small>	
    
    </p>
    
    	</div>
    <p>
    
    </p>
    
    <script type="text/javascript"><!--
    google_ad_client = "pub-7545361851469082";
    google_ad_width = 468;
    google_ad_height = 60;
    google_ad_format = "468x60_as";
    google_ad_type = "text_image";
    google_ad_channel = "";
    //-->
    </script>
    <script type="text/javascript"
      src="https://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    <?php echo getad('banner'); ?>
    
    	<?php comments_template(); ?>
    
    	<?php endwhile; else: ?>
    
    		<p>Sorry, no posts matched your criteria.</p>
    
    <?php endif; ?>
    
    	</div>
    
    <?php get_sidebar(); ?>	
    
    <?php get_footer(); ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Umm, i think your opened many tags, without closing them. I tried to fix it a little bit, but my problem is that I don’t know how it should look at the end. (omg, baaad english ^^)

    <?php get_header(); ?>
    <div id="content" class="widecolumn">
    	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    	<div class="post" id="post-<?php the_ID(); ?>">
    		<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    		<div class="entry">
    			<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
    			<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
    			<div>
    				----
    				<small>
    				<? if (function_exists('social_bookmark')) { social_bookmark(); } ?>
    			</div>
    			<b>tag>></b> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/blog/documents.gif" alt="" /> <?php the_category(', ') ?>
    			<img src="<?php bloginfo('stylesheet_directory'); ?>/images/blog/figure_ver1.gif" alt="" /> postat de <?php the_author(); ?> la <?php the_time(); ?>
    			</small>
    		</div>
    	</div>
    	<script type="text/javascript">
    	<!--
    		google_ad_client = "pub-7545361851469082";
    		google_ad_width = 468;
    		google_ad_height = 60;
    		google_ad_format = "468x60_as";
    		google_ad_type = "text_image";
    		google_ad_channel = "";
    		//-->
    	</script>
    	<script type="text/javascript" src="https://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
    	<?php echo getad('banner'); ?>
    	<?php comments_template(); ?>
    	<?php endwhile; else: ?>
    	<p>Sorry, no posts matched your criteria.</p>
    	<?php endif; ?>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
    Thread Starter boioglu

    (@boioglu)

    hi sasch9r,

    I should have the post followed by the social bookmarks and categories. after that i should have the comment box followed by the comments and the footer. also, i should have the sidebar on the right like on the main page!

    any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘footer, comments and sidebar missing on single page’ is closed to new replies.