If I understand your question correctly, I think I may have your answer in this blog post:
https://evowebdev.com/2017/05/using-a-dropdown-menu-to-filter-a-custom-post-type-with-custom-taxonomy/
This solution specifically uses select form element auto-populated with taxonomy terms to sort CPT posts (ie, rather than presorting posts with pre_get_posts, it lets site visitors sort by the taxonomy term[s] they select). If it’s really important to pre-sort, this may not be an answer for you.
I could see it being useful, however, to allow people to select to view all courses of one of the levels.
That said, wouldn’t the following presentation occur with alpha order?
- Course Name level 1
- Course Name level 2
- Course Name level 3
Related Posts:
- pre_get_posts with tax_query causes empty result
- tax_query not working on main query
- Custom Taxonomy Not Working When added to WordPress Search
- “tax_query” parameter not working with WP_Query
- Using pre_get_posts to rewrite search query to display posts from multiple taxonomies
- Custom Taxonomy and Tax_Query
- Include and Exclude Taxonomies From Archives & Feeds Using ‘pre_get_posts’
- Including all terms in wordpress tax_query
- Using tax_query creates a 1 = 0 or 1 = 1 in $wp_query->request
- pre_get_posts OR relation between taxonomy and author
- search query within custom taxonomy term, post title and meta field
- Order posts by (hierarchical custom) taxonomy terms and term children
- Help With issue on pre_get_posts filter in taxonomy
- Ordering Posts with Custom Taxonomy Terms Array
- List taxonomy / category count showing list published posts only
- why do drafts return as part of wp_query?
- How to add custom taxonomy to search
- Dynamically tax_query terms
- How to output content based on same custom taxonomy?
- Search by type posts and taxonomy
- pre_get_posts Tax Query not working for custom author page
- Get pages only with a specific taxonomy
- How to add autocomplete to custom taxonomy for CPT
- Custom taxonomy query not working with switch_to_blog
- ‘wp’ action hook not firing in admin and login?
- Taxonomy archive showing no results
- Get taxonomy parent using child slug (from merged taxonomies)
- orderby meta_value breaks taxonomy term archives
- Manipulate WP Query using a custom post type and multiple tax_query taxonomies
- Retrieve Custom Taxonomies according to posts selected
- WordPress Tag or Custom Taxonomy Return All Posts if has that Word in Post Title
- Removing “s” from search with custom parameters
- Hiding taxonomies with no children WP_Query & tax_query
- Set tax_query conditionally with new WP_Query
- tax_query not working
- How to do a particular wp_query taxonomy search
- tax_query: Don’t show posts with parent term when they have a corresponding child term applied
- Create alphabetical Pagination for custom taxonomy?
- Custom arguments in WP_Query
- pre_get_posts post_meta event
- WP_Query tax_query – Show results if child has parent X
- how to access the $query variable inside taxonomy-xxx.php template file?
- how to use tax_query to apply both terms or one if one is empty
- Amend taxonomy to search in wordpress admin
- Get Posts Related to Category By category id or slug
- Display just the Post’s parent Category, not child
- Main query disturb pre_get_post by category query
- Add terms to a taxonomy archive from within the same taxonomy
- Random order not working correctly when using default loop + $query->set
- How to exclude woocommerece product category in search results?
- Tax-query on taxonomy doesn´t work
- how do you pull data from two taxonomies?
- Pre_get_post custom taxonomy combined with custom fields?
- WordPress Multiple Taxonomy Query
- Include attachments with a custom taxonomy in search
- WordPress hiding posts without content on custom taxonomy query. How to solve?
- How to use tax_query other than by slug or id or solve custom taxonomy tags conflicts with pre-existing tags?
- Tax query array terms display out of order
- Exclude 2 in 3 terms of A Taxonomy from all Archives
- Advanced AND tax_query in sidebar with 2 taxonomies
- How to update WordPress custom SQL Select query for custom taxonomies so that syntax is correct?
- How to limit posts to 1 from each term with tax_query?
- Can I use $query->set() (in a pre_get_posts() hook) with a custom taxonomy in WP 3?
- get_the_terms inside save_post gives old terms
- wp_get_object_terms count on taxonomies within an category archive
- Complex Taxonomy scheme
- Querying posts globally based on custom taxonomy with its own taxonomymeta table
- Custom taxonomy with custom meta value is not sorting correctly (query returns the same value for orderby regardless of sort column click)
- Hide empty categories on widget
- Using wp_query is it possible to orderby taxonomy?
- How do I exclude a custom taxonomy from the post loop
- get_posts assigned to a specific custom taxonomy term, and not the term’s children
- How can I get only parent terms?
- How to modify a taxonomy that’s already registered
- Retrieve posts by term id custom query
- Change order of Custom Taxonomy List
- Get the the top-level parent of a custom taxonomy term
- get_the_term_list without links in 3.1
- Inserting terms in an Hierarchical Taxonomy
- get_terms – only top level
- Custom taxonomy terms not showing as list Gutenberg Editor
- Altering the appearance of custom taxonomy inputs
- How to only list the child terms of a taxonomy and not their parents?
- Get term SLUG by term ID
- Is ACF being a honey trap? [closed]
- Get term name from term ID?
- Check if Current Category has Children
- How to use taxonomies on attachments with the new Media Library?
- Hierarchical taxonomy UI
- WordPress taxonomy radio buttons
- How to prevent new terms being added to a custom taxonomy?
- Custom taxonomy, get_the_terms, listing in order of parent > child
- How to remove the tag cloud from custom taxonomy admin page?
- custom taxonomy and pages rewrite slug conflict gives 404
- Inserting a term into a custom taxonomy
- Count posts in custom taxonomy
- How to add images to taxonomies?
- Read-only taxonomy (user can assign term but can’t create or edit existing terms)
- WordPress tax_query “and” operator not functioning as desired
- Remove taxonomy base or term from url