Jump to content
Sign in to follow this  
fab

Sidemenu problem

Recommended Posts

fab    0
fab

Hi On my blog page http://www.fabcity.in/blog/ I have set the side menu to 'Show Secondary Sidebar' however it continues to show the 'main sidebar'. As I would like my blog to have a more 'blog look' I want to use the secondary sidebat to present the post archives for example. Any idea on what might be the problem here? Thanks Nic

Share this post


Link to post
Share on other sites
Andrew    201
Andrew

Well WP handles the 'posts' page differently than really all the others. If you're using 'custom fields' to do this; it won't work. This is a feature we might add but you'll need to edit the 'sidebar.php' file. Add some code to this part: `<?php if(get_post_meta($post->ID, 'secondary_sidebar', true)):?>` change it to: `<?php if(get_post_meta($post->ID, 'secondary_sidebar', true) || is_home()):?>` to get the secondary sidebar to show on that page.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×