getting widgets to appear on posts by category: Widget Logic, etc.
-
On my site that uses evidens white theme (https://cityrat.com) as well as my test site at https://furgarden.com, I’m having trouble with any attempt to feature or list content in a sidebar widget that relates to a single post’s category.
I can’t seem to target all post pages within specific categories.
For example when I try to use a widget that calls in content from, say, the category “music” (that part is fine, the widgets get the content FROM the category with no problem), and have that widget appear on all POST pages within the category “music”, I can’t seem to do it. I tried in_category(‘7’)?as well as the category name with Widget Logic and it does nothing, and I don’t have any luck with Widget Context either (though i have no problem getting the widget to appear on home vs. post pages etc). I tried it with parent categories, names and URL (/*) as well as IDs.
I’m using the /%postname% structure for posts and default for cats and tags.
Can anyone help?? I just want to be able to display certain widgets on all posts within a certain category.
thanks!!
michelle
- The topic ‘getting widgets to appear on posts by category: Widget Logic, etc.’ is closed to new replies.