I was trying to get results of the posts which has category and my custom taxonomy Type . I am trying this
$args = 'category=' . $cat . '&Type='.$type.'&order=ASC';
query_posts($args);
I am receiving $cat and $type from a GET request. The problem is it is pulling up all the posts that belong to the Type taxonomy ireespective to category
Your help is appreciated.
Thanks !
query_posts()for fetching posts. For general post queries, useWP_Query()orget_posts().