WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Sidebar on Single Post

[Resolved] Sidebar on Single Post

  • Hi,

    Newbie Question: Is it possible to use the sidebar at index page for single post? As I use sitemeter widget on index page, but it does not show on the single page.

    Here is my website:
    http://www.hkceleb.com

    Many thanks in advance.

    Regards,
    Chris Lee

Viewing 5 replies - 1 through 5 (of 5 total)
  • Wired…
    Maybe you can find help here:IVR.

    IVR??? What is it?

    @mercime
    Participant

    @mercime

    In your theme’s single.php edit in notepad to change the following:

    AT TOP of single.php change class="widecolumn" to class="narrowcolumn" like so

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

    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.

    Mercime,

    Excellent! That’s what I want!

    Thanks Again!

    Regards,
    Chris Lee

    Thanks for the info – now it works like it should “out of the box”!

    This has always bothered me (why does WP assume that I don’t want to navigate any further when viewing a single post?) and I finally decided to look into it this morning while waiting for files to transfer from one PC to another.

    gk (effor.com/blog)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Sidebar on Single Post’ is closed to new replies.