Skip to content

Instantly share code, notes, and snippets.

@billerickson billerickson/functions.php Secret
Created Nov 16, 2018

Embed
What would you like to do?
<?php
$loop = new WP_Query( array(
'posts_per_page' => 10,
'tax_query' => array(
array(
'taxonomy' => 'color',
'field' => 'slug',
'terms' => array( 'blue' ),
)
)
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.