[resolved] Querying same term from different taxonomies (3 posts)

  1. parandroide
    Posted 4 years ago #

    Hello everyone.

    Let's say i register two custom post-types with their respective custom taxonomies, then i create a term called "featured" in each one of those custom taxonomies so, in my homepage, i can show the latest post in term "featured", no matter what post-type o custom taxonomy that post belongs to?

    To summarize: i want to have different post types with different taxonomies and then pick the latest of those posts marked as "featured" to appear on my homepage.

    Have anyone tried that before?
    How am i supposed to query that?

    Thanks in advance!

  2. parandroide
    Posted 4 years ago #

    Forgot to say that i've searched for possible solutions using versions 3.04 and 3.1RC2 with no success.

  3. parandroide
    Posted 4 years ago #

    Forget it, i already solved it. I think...
    I used parameters "post-type" => "foo,bar" and "term" => "featured" in my query and looks like its working fine now.

Topic Closed

This topic has been closed to new replies.

About this Topic