WordPress.org

Forums

Widget Logic
Displaying widgets by Taxonomy: possible? (2 posts)

  1. deadhippo
    Member
    Posted 4 years ago #

    I tried both: is_taxonomy('black') and taxonomy_exists('black') but got no results for a site I am working on. Is there a way to display a widget on posts that belong to a certain taxonomy?

    http://wordpress.org/extend/plugins/widget-logic/

  2. alanft
    Member
    Plugin Author

    Posted 4 years ago #

    Yeah, see bluebird2's reply in the other thread. taxonomy_exists() doesn't do quite what you are thinking - it will either be true or false all the time, regardless of page displayed

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic