Archived

This topic is now archived and is closed to further replies.

Big Sidebar Issue

9 posts in this topic

Posted · Report post

The main page of my blog (http://www.blue-point-trading.com/blog) only allows the secondary sidebar to show instead of the main sidebar...No welcoming text, only the secondary sidebar.. I tried restoring the settings, crating a new blog page, nothing worked so far Please help Best regards Snobtrader

Share this post


Link to post
Share on other sites

Posted · Report post

did you manually change anything in sidebar.php? Actually the main posts page should be the only page where you can't see the secondary sidebar (WP handles the posts page differently than the rest) have you set any custom fields? (like one for the secondary sidebar..)

Share this post


Link to post
Share on other sites

Posted · Report post

Hey arpowers, No, I have not changed anything manually in sidebar.php. I do use a secondary sidebar (for the blog posts) and a main sidebar for the blog itself. No, no custom fields for the Blog Page set... Quite a big problem actually I really tried everything I could and the main sidebar seems to appear on every other page except the Blog :-( Please help...

Share this post


Link to post
Share on other sites

Posted · Report post

In addition to that, it says if I remove all widgets from the secondary sidebar: The secondary sidebar has been selected but doesn't have any widgets. Add some widgets to your secondary sidebar in your admin.

Share this post


Link to post
Share on other sites

Posted · Report post

For now, I moved all widgets to the secondary sidebar, but it is still not showing the welcoming text :-(

Share this post


Link to post
Share on other sites

Posted · Report post

its probably being set that way because you're using it on the posts... How do you set the "secondary sidebar" on the posts? by selecting the custom field on each one?

Share this post


Link to post
Share on other sites

Posted · Report post

No! I choose the button on the bottom , use secondary sidebar.... What can I do so I get back the Welcome Message? Best regards Snobtrader

Share this post


Link to post
Share on other sites

Posted · Report post

ok try this: change: `<?php if(get_post_meta($post->ID, 'secondary_sidebar', true)):?>` to this: `<?php if(!is_home() && get_post_meta($post->ID, 'secondary_sidebar', true)):?>` in sidebar.php

Share this post


Link to post
Share on other sites

Posted · Report post

Wow that worked! :-) Very nice, thank you a lot for all your effort and work Very much appreciated!

Share this post


Link to post
Share on other sites