Portfolio item Mini Post Grid sidebar custom queries
I’m getting some sort of conflict I can’t seem to figure out. I’m using the portfolio plugin. The setup is like this:
Layout: Sidebar right.
Several portfolio items with featured images in two portfolio categories: portfolio-category-1 and portfolio-category-2.
Two custom widget areas (sidebar right): portfolio-1 and portfolio-2. Each with its own custom query:
"portfolio_item" == get_post_type() || is_tax("portfolio-category-1")
"portfolio_item" == get_post_type() || is_tax("portfolio-category-2")
Both widget areas have the Mini Post Grid widget with custom queries:
This wont work. The sidebar will only show one of the widget areas no matter what portfolio item I’m on. If I remove the custom query from the widget area that is showing it will show the other one.
Is the setup wrong, conflicting queries or perhaps a bug?
How do I do this?
- You must be logged in to reply to this topic.