• Hey everybody,

    I’ve installed and activated the plugin “Query Multiple Taxonomies” and now I’m trying to show posts from more than one Taxonomy:

    <?php query_posts($query_string . ‘post_type=work&posts_per_page=4&workcat=design,frontcover’); ?>

    In this case I have a taxonomy named “workcat” within the two Taxonomies “design” and “frontcover”. Why this doesn’t work ??? Please help me,

    Thank you so much, joeybottle

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author scribu

    (@scribu)

    Erm, I think you’re confusing a taxonomy with a term in that taxonomy.

    Please read https://justintadlock.com/archives/2009/05/06/custom-taxonomies-in-wordpress-28

    Thread Starter joeybottle

    (@joeybottle)

    Ahhh yeah! No I already understand what a term and a taxonomy is. But you’re right, I described my problem as I would confusing a term in a taxonomy with a taxonomy. I’m from Germany – it was a language-problem.
    So I have a taxonomy named “workcat” with the two terms “design and frontcover”. (…and some more term)
    How can I query just the posts with(in) these two Terms ???

    OR best solution would be: How can a filter-out posts with a specific Term ??????? That would be awesome to do! Thank you so much, greating from germany.

    Plugin Author scribu

    (@scribu)

    Well, the code you posted initially should work. It depends where you place it.

    Please install the development version (1.3-alpha2) to make sure we’re on the same page.

    Thread Starter joeybottle

    (@joeybottle)

    Hey there! Now it works, yes! I had to use the 1.3-alpha2 Version of the Plugin. Thank you very much. But the one and biggest question is still how to EXCLUDE a specific term of a taxonomy in a query. Because this way I have to list ALL the Terms I want to have IN the query…that’s kind of dumb if I want to add a new term.

    Would be soooo great if you have any idea how to solve that. Greatings from Germany,

    joeybottle

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Query Multiple Taxonomies] Showing posts from two Taxonomies of a Custom Post Type…’ is closed to new replies.