Support » Plugin: Query Multiple Taxonomies » [Plugin: Query Multiple Taxonomies] query only showing taxonomy of type 'category' not my

  • sabell2

    (@sabell2)


    Does this method work with custom taxonomies?

    $myquery['tax_query'] = array(
    array(
    'taxonomy' => 'prof_type',
    'field' => 'slug',
    'terms' => array('lawyer'),
    ),
    array(
    'taxonomy' => 'region',
    'terms' => array('new-york'),
    'field' => 'slug',
    ),
    );
    query_posts($myquery);

Viewing 1 replies (of 1 total)
  • Plugin Author scribu

    (@scribu)

    Yes, that should work.

    The title of this topic is rather confusing, though.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Query Multiple Taxonomies] query only showing taxonomy of type 'category' not my’ is closed to new replies.