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
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.