Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $taxonomy = 'ec-gallery-cat';
- $queried_term = get_query_var($taxonomy);
- $term_args = array(
- 'parent' => 0,
- );
- $terms = get_terms($taxonomy, $term_args);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement