[resolved] Sidebar not appearing on single post pages (6 posts)

  1. kateh12
    Posted 2 years ago #

    Hi all -- I'm developing my new blog locally, so I can't provide a link, but here's my problem:

    My two sidebars (one is actually the footer) is calling just fine on the homepage, but for single posts it's not appearing. I have a moderate skill level when it comes to WordPress code, but I just can't figure this out. Here is what my single post PHP looks like:

     * The Template for displaying all single posts.
     * @package WordPress
     * @subpackage Twenty_Twelve
     * @since Twenty Twelve 1.0
    get_header(); ?>
    	<div id="primary" class="site-content">
    		<div id="content" role="main">
    			<?php while ( have_posts() ) : the_post(); ?>
    				<?php get_template_part( 'content', get_post_format() ); ?>
    				<?php comments_template( '', true ); ?>
    			<?php endwhile; // end of the loop. ?>
    		</div><!-- #content -->
    	</div><!-- #primary -->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Any thoughts?

  2. you need to have widgets in the 'Main Sidebar' area under dashboard - appearance - widgets for the sidebar to show.

  3. kateh12
    Posted 2 years ago #

    I know that!

    The problem was with a comments-related plug-in. Once I deactivated it everything worked just fine.

  4. The problem was with a comments-related plug-in.

    you didn't mention that in your question;
    which plugin exactly?

  5. kateh12
    Posted 2 years ago #

    I didn't know it was plugin related until I started troubleshooting (aka trying everything I could think of!)

    It was SEO Facebook comments

  6. does this mean the primary problem is 'solved'?

    if so, please mark this topic as 'resolved' - thanks ;-)

Topic Closed

This topic has been closed to new replies.

About this Topic