WordPress.org

Forums

conditional tag for single posts within a taxonomy (3 posts)

  1. josephina1988
    Member
    Posted 3 years ago #

    Is there a conditional tag that will connect posts within a custom taxonomy? For example, if I created a taxonomy for "Animals" (with groups like; dogs, cats, birds, etc.) how do I refer to posts within the dogs grouping?

    is_single() is for posts ... can I custom build something in functions.php taht will basically say " in_tax('Animals') " ....?

  2. josephina1988
    Member
    Posted 3 years ago #

    bump

  3. drkknght
    Member
    Posted 3 years ago #

    i'm working on a similar issue, here:
    http://wordpress.org/support/topic/plugin-widget-logic-single-posts-within-a-taxonomy

    no success so far, but might be getting closer

Topic Closed

This topic has been closed to new replies.

About this Topic