Give help. Get help.

  • # June 27, 2013 at 1:13 pm

    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(
    ‘taxonomy’ => ‘post_format’,
    ‘field’ => ‘slug’,
    ‘terms’ => ‘post-format-video’,
    ‘operator’ => ‘NOT IN’
    query_posts( $args );

    Thank you

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.