Jump to content
Sign in to follow this  
snobtrader

Big Sidebar Issue

Recommended Posts

snobtrader

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
Andrew

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
snobtrader

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
snobtrader

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
snobtrader

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
Andrew

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
snobtrader

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
Andrew

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
snobtrader

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

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  

×