You’re not querying for a specific taxonomy term, you set $args['animal-species']
, but then you overwrite the $args
var later, before the query. also, that form of taxonomy query is deprecated, see tax_query
in Codex.
You’re not querying for a specific taxonomy term, you set $args['animal-species']
, but then you overwrite the $args
var later, before the query. also, that form of taxonomy query is deprecated, see tax_query
in Codex.