What's the best way to get custom post types with different taxonomies/terms to display different widgets in the sidebars?
For example, I've created a custom post type for Market Updates with a (hierarchical) taxonomy of Property Types.
I've got 3 different Property Types:
- Detached Homes
I've created 3 different sidebars using the Sidebar Manager Light plugin: each one named for the above-noted Property Types.
I've created 3 different Views using WP Toolset Views for each Property Type.
I've added the Views to the sidebars in the WordPress widget area.
I'm trying to use the Widgetizer section in the sidebar of each Property Type to display only the same types of properties (i.e., I only want Detached Homes Property Types to display in the sidebar of a Detached Homes custom post type).
But it's not happening for me.
No matter what, I get the same widgets in the sidebars of different pages (so Detached Homes shows up in the sidebar of Townhouses and Condominiums).
I don't seem to be intellectually capable of figuring out how to get specific widgets to show up in the sidebars of specific custom post types (and only in those sidebars).
I've tried Widget Logic (the plugin) with conditional tags and have tried custom templates but I can't get it to work and it's doing my head in.
Can anybody tell me what I am missing / doing wrong?