Created
March 25, 2018 18:28
-
-
Save Sharifur/d251c67a56a72d210b6f01f0c510c2eb to your computer and use it in GitHub Desktop.
custom taxonomy query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$arg = array( | |
'post_type' => 'xgenious_teams', | |
'posts_per_page'=> $count, | |
'tax_query' => array( | |
array( | |
'taxonomy' => 'xgenious_teams', | |
'field' => 'term_id', | |
'terms' => $category | |
) | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment