[wp-pro] Disappearing Sidebars

Moya, Eddie emoya at tribune.com
Fri Apr 2 19:58:23 UTC 2010


You have two columns that don¹t appear, a quick look around confirmed what
you said, that they just don¹t appear on post pages.  Look in your theme and
you will probably find a conditional tag restricting this from the single
post page. This could be done in a few different places. First check where
the sidebar is declared (probably sidebar.php) and I expect you will find a
conditional tag around it.

Probably: if (!is_single()) { ... Your widgetized sidebar(s) ... }

It might also be in the index.php, where the sidebar is first included. Same
conditional tag, except this would just be calling get_sidebar() inside it.

Finally, this might be a difference in the single.php file. If there is a
single.php in your theme, take a look at it and see if it includes the
sidebars.


-- 
Eddie Moya
Applications Developer
Tribune Technology
emoya at tribune.com



On 4/2/10 2:45 PM, "Gary McCarty" <wordprof at gmail.com> wrote:

> Can anyone out there give me some insight on why my sidebars disappear when
> you hit the title on the post and go to post page?
>  
> The site is www.laborlawguy.com <http://www.laborlawguy.com/>
>  
> Thanks so much for your generous advice and time.
>  
> Gary
> 
> 
> _______________________________________________
> wp-pro mailing list
> wp-pro at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-pro

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.automattic.com/pipermail/wp-pro/attachments/20100402/44e8cc57/attachment.htm>


More information about the wp-pro mailing list