New widget area and category conflict
I just noticed this odd problem:
I have several new widget areas in the ATO/Center Column/Above the Loop, which show specific left sidebar content depending on which category page you're on. For instance, I have this one, which shows the Enhanced Recent Posts widget only when you are in the Dine and Wine category, or on a Dine and Wine post: Code:
<?php bfa_widget_area('name=dineandwine'); ?> For the widget itself, I have this in the Widget Logic field: Code:
is_category(103) || (is_single() && in_category(103)) Everything was fine. However, yesterday I posted a new article about the opening of a new specialty foods market, and I assigned it the News and Dine and Wine categories. When published, suddenly the Dine and Wine Enhanced Recent Posts widget started showing up on the front page in the left column, ahead of the left column ads that should be first. If I remove the Dine and Wine category from the post, all goes back to normal. It's set for just News now, so you can't see the problem in action. I wonder if I have something set wrong, but I can't figure out what. This may be beyond the scope of this forum, but I thought it was interesting anyway. The post in question: http://www.larchmontgazette.com/news...-pelham-manor/ |
What category is 'news' and what category is 'wine and dine'?
|
News=Category 3
Wine and Dine= Category 103 |
Just tried to reproduce and I don't get the problem. There must be some tie in with other things you have done on the site.
|
All times are GMT -6. The time now is 01:06 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.