• Hi guys,

    I’m stuck on an issue. I have a custom post type called “mediaroom”. I have created a custom taxonomy called “mediaroomcategory”. It has two slugs: “news” and “press-release”.
    I have tagged as “news” some entires in “mediaroom”.

    The following query returns correctly the "mediaroom" entries:
    $q = new WP_Query( 'post_type=mediaroom');
    
    This one doesn't work:
    $q = new WP_Query( 'post_type=mediaroom&mediaroomcategory=news');

    The custom post type and taxonomies have been created using Pods…

    Thanks for your help

    Ben

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Taxonomy & WP_Query issue’ is closed to new replies.