WordPress.org

Forums

[resolved] Sidebar on Single Post (6 posts)

  1. Anonymous
    Unregistered
    Posted 7 years ago #

    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

  2. Anonymous
    Unregistered
    Posted 7 years ago #

    Wired...
    Maybe you can find help here:IVR.

  3. Anonymous
    Unregistered
    Posted 7 years ago #

    IVR??? What is it?

  4. @mercime
    Volunteer Moderator
    Posted 7 years ago #

    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.

  5. Anonymous
    Unregistered
    Posted 7 years ago #

    Mercime,

    Excellent! That's what I want!

    Thanks Again!

    Regards,
    Chris Lee

  6. effor.com
    Member
    Posted 6 years ago #

    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)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.