Support » Fixing WordPress » Querying same term from different taxonomies

  • Resolved parandroide

    (@parandroide)


    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forgot to say that i’ve searched for possible solutions using versions 3.04 and 3.1RC2 with no success.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Querying same term from different taxonomies’ is closed to new replies.