Support » Themes and Templates » Sidebar Not Showing On Single Posts

  • Resolved smoniz

    (@smoniz)


    Theme Name: Comfy Pro (Paid Version)

    Problem: Sidebar does not show up on posts. It does, however, show up fine on pages.

    I’ve reuploaded the original single posts templates, as well as the sidebar template to no avail.

    It does have a lot of coding in place to look to see if it is a “Single Post” or a “page” or a “category” in place, but not sure if that is the issue either.

    Here is the sidebar coding:

    [code moderated please use wordpress.pastebin.com to paste large chunks of code]

Viewing 7 replies - 1 through 7 (of 7 total)
  • look in theme’s single.php and see if the call for the sidebar is there

    Thread Starter smoniz

    (@smoniz)

    In single.php it has the following:

    <?php
    
    // template variation
    global $post;
    $tplkey = get_post_meta($post->ID, 'template', true);
    
    // load custom single post template
    if ($tplkey == true) {
    	include_once TEMPLATEPATH.'/single-'.$tplkey.'.php';
    } else {
    	include_once TEMPLATEPATH.'/single-normal.php';
    }
    
    ?>

    In single-normal.php it has:

    <?php get_sidebar(); ?> right above <?php get_footer(); ?>

    Thread Starter smoniz

    (@smoniz)

    Anyone else have an idea? The last thing I just tried was taking all code from single-normal.php and pasting into single.php. That didn’t work either.

    Thread Starter smoniz

    (@smoniz)

    Here is the coding for sidebar.php http://pastebin.com/UMk238ut

    give me a link to the page that doesn’t have the sidebar

    ditto because the sidebar is being called
    the sidebar.php code has nothing to do with what is being called

    Thread Starter smoniz

    (@smoniz)

    Well as it turns out it was the call to the comments function. Believe it had to do with the VB-Wordpress bridge plugin. I removed that function call, and everything appeared as it should. Thanks all 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sidebar Not Showing On Single Posts’ is closed to new replies.