Question on PHP Query
-
This query gives me all events from the “security” category including events that are also in the “Conference” category. How do I get the “Conference” events out of the list and just show events from ‘security’?
<?php $wp_query = new WP_Query( 'post_type=tribe_events&eventDisplay=past&posts_per_page=-1=&tribe_events_cat=security&tribe_events_cat!=Conference'); ?>
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Question on PHP Query’ is closed to new replies.