Contact: Web / Voice / Email / Tips
Simple Thoughts Blog - Java and Web Technologies

Simple solutions for complex problems.

 

How To Display Sidebar in Single Post in WordPress 1.5 / 2.0 Default Kubrick Theme

December 26th, 2005 by Angsuman Chakraborty

WordPress default theme (Kubrick based) does not display sidebar on single post page. However with a minor change in the theme you can make it to display sidebar. This works in the default theme of WordPress 2.0 and 1.5.x.

Login as admin.
Click on Presentation / Theme Editor / Single Post.
Change the second line from:
<div id="content" class="widecolumn">
to
<div id="content" class="narrowcolumn">

Then add this line :
<?php get_sidebar(); ?>

just before the last line containing:
<?php get_footer(); ?>

You are done!

Now you will have a sidebar, identical to the front page, on all your post pages.

Note: This supercedes my earlier post on this sidebar problem, as this solution is without any side-effect, unlike my previous solution.


Tags: CMS Software, Headline News, How To, Pro Blogging, Tech Note, Web, WordPress | | RSS 2.0 | Email this Article

You may also like to read

»How to have sidebar enabled in WordPress 1.5 Kubrick(modified) Post pages
»Anaconda: 3-Column WordPress Theme Sneak Preview
»Next Generation WordPress Theme Design - Giraffe
»Introducing Cool WordPress Theme - Frost
»Next Generation CSS Based 3 Column Anaconda Theme for WordPress Released
»WordPress 3 Column Anaconda Theme Tested on 9 Display Settings
»Anaconda 3 Column Theme Release Schedule
»WordPress: How To Automatically Create Post Excerpt / Summary
»How To Add Single Quotes In WordPress Posts
»Angsuman's Translator Plugin Pro / Gold: Statistics
»New Forum for 3 Column widgetized Anaconda Theme ( WordPress )
»Neat Three Column WordPress Theme - Alexified
»Few thoughts on WordPress 1.5 Upgrade
»Beautiful Minimal WordPress Theme - Modern
»WordPress 2.x Hooks for Action - Comprehensive List for Plugin and Theme Developers

12 Responses to “How To Display Sidebar in Single Post in WordPress 1.5 / 2.0 Default Kubrick Theme”

  1. How to have sidebar enabled in WordPress 1.5 Kubrick(modified) Post pages -Java and Web Software Blog Says:

    [...] [...]

  2. kcyap Says:

    Hi there, i had just reopen the wordpress 2.0 theme design competition which will start very soon. I hope you could help me to spread the news. Im offering a lot of gadgets as the prizes and i wish will there be a lot of competitors.

    Ive put the entry as a sticky topic on my blog and only will be take down after the competition had been complete. For direct link to my Wordpress 2.0 Theme Design Competition, this is the address

    http://kcyap.com/?p=47

    I hope you could set a trackback to my entry so i know you had help me to blog about this.

    Thanks in advanced.

  3. Angsuman Chakraborty Says:

    You got it.
    WordPress 2.0 Theme Competition Announced

  4. Jason Litka Says:

    You rock! I’ve been trying to figure this out since I started my blog last weekend.

  5. Mad Kane Says:

    Thanks so much. You are a life-saver. I have two blogs and have been trying to add the sidebar to my single pages foreover and have been tearing my hair out. Thanks for the wide to narrow fix … just in time before I lost the last of my hair. :)

  6. Ivan Dulin Says:

    If you want your sidebar with background, as on main page, you also need fix this string in header.php:
    “if ( !$withcomments && !is_single() ) {” - we need “if ( !$withcomments ) {”. Enjoy!

  7. Kathiroly Raj Says:

    Hi. Really thank you so much for this. I have been looking for this for a long time. Thanks a zillion. :)

  8. Jao Moragoat in Thailand Says:

    Much gratitude for the quick and simple fix. BTW, for wordpress 2.2, the file to modify is single.php.

    Cheers!

  9. meraTechExplorer Says:

    Hi,

    Finally my \\\” How to display sidebar in individual post pages on kubrick theme \\\” search ends with your trick. Ivan Dulin fix really helps.

    Here is my Weblog: http://meratechexplorer.com/microsoft/news

  10. Shaun Says:

    Thanks! This was very useful.

  11. S.P. Gass Says:

    Thanks for the simple, effective solution! In addition to adding the sidebar, your solution also appears to have corrected a title centering issue I was having with long titled posts under the default style. Thanks again!!

  12. John Says:

    Thanks this realy helped.

Looking forward to hear your thoughts.



Please enter the code shown below ( to verify that you are human ) before you click Submit Comment.

No. 1 method to ethically increase your blog traffic and reach.

Translate

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanPřeložit do Čech/CzechOversætte hen til Dansk/DanishKääntää jotta Finnish/FinnishLefordít -hoz Magyar/HungarianÞýða til Íslenska/IcelandicTraducir a Latinoamericano Español/Latin American Spanishtagapagsalin sa Filipino/FilipinoTłumaczyć wobec Polski/PolishA traduce la spre Român/RomanianPrevesti za Srpski/Serbiantolmačiti v slovenski/SlovenianÖversätta till Svensk/SwedishChyfieitha at Cymraeg/Welshtercüme etmek -e doğru Türk/TurkishPrevesti to Hrvatski/CroatianПревеждам към Българин/BulgarianTraduzca al Español/SpanishTraduisez au Français/FrenchTraduca ad Italiano/ItalianTraduza ao Português/Portuguese日本語に翻訳しなさい /Japanese한국어에게 번역하십시오/Korean中文翻译/Chinese Simplifiedترجمة الى العربية/ArabicVertaal aan het Nederlands/DutchΜεταφράστε στα ελληνικά/GreekПереведите к русскому/RussianOversetter til Norsk/Norwegian中文翻译/Chinese TraditionalTraduzir a Língua portuguesa brasileira/Brazilian PortugueseReddo ut Latin/Latin

Taragana Network

»Ctrl-S
»Enterprise Blog
»Free Book on Eye Care by Natural Therapy
»Health Care Blog
»Hot Computer Jobs Blog
»Pet Care & Grooming News and Tips
»Phil Law Blog
»Taragana - Software Outsourcing
»The Angsuman Chakraborty Blog
»The Diabetes Cure Blog
»The Eye Treatment Blog
»The Stem Cell Blog
»Weblog Hosting Blog
"Do not worry about your difficulties in Mathematics. I can assure you mine are still greater." - Albert Einstein