Forums

Sidebar does not appear on post pages (4 posts)

  1. salli
    Member
    Posted 6 years ago #

    Please go to http://www.thisishamid.com/blog and click for example on the first post "faith". Notice the sidebar's disappearing. I just can't get this fixed.. have been searching the forums as well but couldn't find anything. Please let me know if there's already a post on this that I have overlooked upon.

    Thanks!

    wp 1.5.2

  2. jaseone
    Member
    Posted 6 years ago #

    You have to edit single.php in your theme directory and add a call to get_sidebar(); have a look at index.php as a guide.

  3. Lorelle
    Member
    Posted 6 years ago #

    There are tons of posts about this. If you wish to stick with that particular WordPress Theme, then you will have to edit the template files to include the sidebar, but it is more complicated than that. You will also have to change the template files and CSS to accomodate this new space.

    The template file to change, as Jaseone mentioned, is called single.php and you will have to either change the CSS reference to widecolumn to narrowcolumn, emulating the index.php template file for the content area, or go into the CSS style.css style sheet file and change the width of widecolumn to match narrowcolumn width.

    You will also need to add the get_sidebar() command per the example in your index.php template.

    See, changing Themes might be easier. ;-)

  4. salli
    Member
    Posted 6 years ago #

    Ah yeah that's what I thought, but I just didnt know What php files to adjust. It's going to be a lot of work indeed, but it's learnful since im a layman when it comes to php and css.. I havent find a template that suits my ideas yet so I might as well give it a shot :)

    Thanks a bunch!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags