- This topic has 2 replies, 3 voices, and was last updated 9 years, 8 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I would like to add a sidebar element to my site that adds content based on the post I'm showing.
In this case, it appears that the "Destination Facts" section is based on the location and/or category of the post. How can I do this?
I often use a plugin called <a href="http://wordpress.org/extend/plugins/widget-logic/" title="Widget Logic"> to do that.
It uses WordPress <a href="http://codex.wordpress.org/Conditional_Tags" title="Conditional Tags">, so you can tell it show a widget using a wide variety of logic, such as show this widget when category=africa, etc.
Need more help? Find me on Twitter @gidgetthegeek
© 2022 WPEngine, Inc.