Query posts by custom taxonomy ID

The reason this isn’t working is because ‘tax_query’ needs to be an array of arrays (confusing, I know).

...

'tax_query' => array(
    array(
        'taxonomy' => 'build-type',

...

It is that way so you can group a few different rules together.

Leave a Comment

tech