WordPress.org

Ready to get started?Download WordPress

Forums

Query Multiple Taxonomies
Exclusion of sub-taxonomies (3 posts)

  1. rustyShacklef0rd
    Member
    Posted 2 years ago #

    Hello,

    I'm using a slightly modified version of the QMT plug-in to run a tiered search option for a page that I'm building. At the 11th hour, the client wanted to include a series of Sub-level taxonomies on every top level taxonomy category. The problem, or at least the last remaining problem of this is that now the sub-taxonomies are populating in the search field. Is there any way to exclude them?

    http://wordpress.org/extend/plugins/query-multiple-taxonomies/

  2. BunnyBomb
    Member
    Posted 2 years ago #

    I would also like to know the answer to this question.

    I have a pet rescue website with the taxonomies "types" and "status" and "color".

    I want to display 'Type' and 'Color' in the Taxonomy Drill-Down widget. But I want the widget to only link to pages showing results for those with taxonomy status => 'adopt'. I don't want to show pets with the status => 'adopted' or 'lost' or 'found'

    Is this possible from within the plugin?

    If not, I wondered if there was a way around it by....say....creating a custom archive page "taxonomy-types.php" and "taxonomy-color.php" that each contain code saying....I dunno....only display post results with the status => 'adopt'.

    I thought of doing that with WP_Query but I'm not sure if it's possible. Would love some help if somebody knows the answer to this.

  3. BunnyBomb
    Member
    Posted 2 years ago #

    Ah I was right, it can be done with WP_Query.

    All sorted for me now, those taxonomy pages did the trick.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic