Ruben Laguna's blog

Mar 9, 2009 - 1 minute read - column default get_sidebar kubrick narrow post sidebar single theme wide wordpress

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

I found this great tip How To Display Sidebar in Single Post in WordPress 1.5 / 2.0 Default Kubrick Theme.

The only problem is that the code that you should add is not properly shown in the post. He just copied the xml code verbatim in the post without escaping it and the browser doesn’t display it properly. So I’m reproducing it here for your convenience.

<div id="content" class="widecolumn">
</pre>

with

<pre lang="xml">
<div id="content" class="narrowcolumn">
<?php get_sidebar(); ?>

before this line:

<?php get_footer(); ?>