• Resolved stopkatie

    (@stopkatie)


    Hi everyone,
    I am using the default theme for my page and I want the sidebar to show when people click to view the comments page. I have looked through the coding on comments.php but do not see any place to add or change this. This is what it looks like:
    http://wanderful.us/magicalmistertour/?p=6#comments

    Does anyone know where I can edit this part of the coding? I have a feeling it’s in another file, but I cannot figure out what file that would be. I looked through functions but didn’t see anything there. Any help would be greatly appreciated.

    Also I want to note that I DO NOT want to use another theme. If you can help, I would be SOOOO happy!!! Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • n your theme’s single.php edit in notepad or bbedit to change the following:

    1) AT TOP of single.php change class=”widecolumn” to class=”narrowcolumn” like so

    <?php get_header(); ?>
    <div id="content" class="narrowcolumn">

    2) AT BOTTOM of single.php add <?php get_sidebar(); ?> just before <?php get_footer(); ?> like so

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

    Save the revised single.php file and upload to your theme’s folder. Clear cache and see the sidebar appear in single post view.
    Good luck.

    Thread Starter stopkatie

    (@stopkatie)

    I LOVE YOU SO MUCH THANK YOU THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    I know the topic is two months old as of my post but:

    stopkatie – thank you for your persistence to find this answer. I followed your link from another post to this one.

    mercimen – thank you for providing the answer, was a simple straight forward fix.

    Same here! Thanks so much for answering this!!!!!

    And same here!! I’ve been pulling my hair out but this has saved me.

    Thanks Katie!!

    Thank you that is wonderful! I was tearing my hair out over this!

    … I have a dumb question though… My sidebar shows up now but the bookmarks and login are missing… I’m using the default theme with the latest version of wordpress… does anyone have an idea of why this is missing??

    thank you so much if you can help!

    THANK SO VERY MUCH!
    the answer solved my sleeping problems 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Getting Sidebar to show in comments with default theme’ is closed to new replies.