I can exclude the post_format_videos with no problem but I only want to exclude those video post formats if they are also in the category “How To”. Here is my current code:
$args = array(
‘tax_query’ => array(
array(
‘taxonomy’ => ‘post_format’,
‘field’ => ‘slug’,
‘terms’ => ‘post-format-video’,
‘operator’ => ‘NOT IN’
)
)
);
query_posts( $args );
Thank you
Author
Posts
Viewing 1 post (of 1 total)
The forum ‘Other’ is closed to new topics and replies.