Hello, I am using a variation of the Kubrick theme. At the moment, the sidebar only shows on the homepage. I would like it to show on the posts and archived pages as well. I have been through this tutorial, but it is not working:
http://quirm.net/2009/10/03/customising-the-default-wordpress-theme-1/
Here is the code from my sidebar.php file:
<div id="sidebar">
<ul>
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar(1) ) : ?>
<?php wp_list_pages('title_li='.__('Pages') ); ?>
<li class="LargeMenu"><?php _e('Archives'); ?>
<ul>
<li>
<?php get_calendar(); ?>
</li>
</ul>
</li>
<?php wp_list_categories('title_li='.__('Categories').'&show_count=1&orderby=name&hierarchical=1' ); ?>
<li><h2><?php _e('Meta'); ?></h2>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
<li><a href="http://gmpg.org/xfn/"><?php _e('<abbr title="XHTML Friends Network">XFN</abbr>'); ?></a></li>
<?php wp_meta(); ?>
</ul>
</li>
<li class="LargeMenu"><?php _e('Search'); ?>
<ul>
<li><?php include (TEMPLATEPATH . "/searchform.php"); ?>
</li>
</ul>
</li>
<?php if (function_exists('gengo_list_languages'))
{
echo '<li>'.__('Languages', GENGO_DOMAIN).'<ul>';
echo gengo_list_languages();
echo '</ul></li>';
}
?>
<?php endif; ?>
</ul>
</div>
<?php if ( !is_single() & !is_page() ) { ?>
<div id="SideRight">
<ul>
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar(2) ) : ?>
<?php
if (get_bloginfo('version')<'2.1')
{
get_links_list();
}
else
{
wp_list_bookmarks('title_li='.__('Bookmarks').'');
}
?>
<?php endif; ?>
</ul>
</div>
<?php } ?>
Thank you very much to anyone who might be able to help!