If you want a list of the terms, use get_terms():
<?php
$terms = get_terms('pa_main-genre', array('orderby' => name,));
?>
Related Posts:
- wp_query get post custom taxonomy in search.php
- How to query term_id of a Custom Taxonomy by name
- query variables for custom taxonomies
- WordPress Paginate $wpdb->get_results
- Custom Search Query
- Custom taxonomy: same terms, but for different years
- get_terms return errors
- Create subpage /user/ or /my-profile/ like /author/ with additional query like /user/user123
- How to show only Standard Format post in my custom taxonomy page -wordpress 3.8.1
- Reproducing hierarchical list output from wp_list_categories(), using get_categories()
- Fast way to add countries as a custom taxonomy term?
- Retrieve and display data from custom db table in admin area?
- How to find if a post with custom_field == X exists?
- Custom search page and search by title, content and tag
- Modifying loop on a custom page, strange behaviour
- Is there a filter hook that I can use to change how taxonomy term names are displayed?
- How to Register and Display Widget for Custom taxonomy
- Show Custom Taxonomy Slug(s)?
- Custom Taxonomy Archive not displaying entries
- Exclude custom taxonomy tag from loop
- Hide custom field if empty
- Filter posts by custom taxonomy terms
- How I display post of the post type group by year of post?
- Function to remove archive sidebar for custom taxonomy?
- Load more posts with multiple queries
- Hi, I wanted to make custom search with multiple fields
- Automatically check parents (in a taxonomy) when child is selected
- How to add textarea field to taxonomy (tag)?
- How can I get the custom post type assigned to a current custom taxonomy for query?
- $wpdb->replace: WHERE?
- Order posts with a custom field but also without
- Save title as custom field on custom post type
- How to get every custom taxonomy names and urls?
- Get Custom Taxonomy Terms by Date
- Add content in between of foreach
- Custom Loop Query For Search Page
- Display specific Taxonomy Term from Custom Post Type
- Semi complicated custom taxonomy question
- Custom SELECT Query With Multiple Meta Values (Ordering Problem)
- Get wordpress taxonomy slug name(s) to use as div class
- How do I list custom taxonomy terms with the links?
- Query for specific custom field
- Display posts by combining multiple meta key
- Custom select query two tables by a meta key
- Custom Same Page Search
- Fatal error Call to a member function insert() on a non-object [closed]
- custom user meta query
- Recent activity query WordPress
- Echo the Last Child Taxonomy only (not parents)?
- WP Search Form Query: Add Author’s posts into search query
- How to show parent taxonomy using get_the_terms?
- wp_insert_post custom taxonomy multiple Category not added
- display text generated via custom get query string
- If Term Name Exists, Append a Unique ID to Slug
- Display all subterms of a custom taxonomy filtered by parent terms
- My list of terms of custom taxonomy displays 7 times
- Display Custom Taxonomy Name As A Shortcode
- Taxonomy template is not reading
- URL issue after setting up Custom Structure in Settings >> Permalinks
- How to assign a default/priority taxonomy to be shown in url in case two taxonomy items are selected
- Custom query pagination with php parameter as arg problem
- Post filter with multiple checkbox taxonomy terms
- How to automatically pull an information from a form field onto an other page?
- Query Posts to display all posts with category “custom field value”
- Combine Categories & Custom Taxonomy
- Custom dropdown search form that allows users to select option B based from Option 1
- issue with saving custom metaboxes fields
- Query 1 custom post type, each day, alphabetically
- Taxonomy template by post type
- How to loop through 1 CPT with 2 Taxonomies
- Multiple Taxonomies Using Custom SQL Query
- Custom terms in custom category taxonomy
- How to setup a taxonomy that can have only one post assigned to it?
- Search a meta field for a value in all posts
- Grouped custom taxonomy query
- Custom WordPress SQL Query 4 posts per custom taxonomy
- Special Query: Title, Terms, Content – %LIKE%
- Custom MySQL query to list post
- Custom Query Arguments
- Create advanced portal website with sections – taxonomy usage?
- Adding a third custom taxonomies
- Include plugin´s table in custom query
- User Query Multiple Orderby Clause
- Advanced Custom Fields in WP_Query: Href Returning Empty
- Taxonomy question how to add more data
- How to get a custom taxonomy slug in body classes
- User profile Pick a premade Design/theme
- How can I query all post with currrent taxonomy term?
- 404 when Previewing an unsaved draft
- How to get the term description in a taxonomy term archive query?
- How to Remove the Custom Theme Panel from a Theme?
- User Custom Dashboard
- Display Images with More Fields yes / no
- Custom Taxonomy Sort For a Custom Query
- Best way to sort estates and query them (for rent? yes/no. contains office space? yes/no)?
- Where to upload my new custom ShortCode in Separate .php file?
- Retrieve all term IDs of post
- How to Clear Empty Search values?
- Translate custom template with WPML
- Allow a subscriber to be an author and view only his post