Hopefully your syntax was correct when you placed order and orderby. In thoery, your code should work with the following
wp_dropdown_categories( array(
'show_option_none' => $cat_text,
'option_none_value' => '',
'taxonomy' => rtcl()->category,
'name' => 'rtcl_category',
'id' => 'rtcl-category-search-' . wp_rand(),
'class' => 'form-control rtcl-category-search',
'selected' => get_query_var( 'rtcl_category' ),
'hierarchical' => true,
'value_field' => 'slug',
'depth' => Functions::get_category_depth_limit(),
'show_count' => false,
'hide_empty' => false,
'orderby' => 'name',
'order' => 'DESC'
) );
Related Posts:
- Can I set a default featured image for a category?
- Hook when category is added to post
- get_categories for custom post type with a specific custom taxonomy attached
- What’s the URL for a category archive?
- Weird behaviour when adding terms/term_taxonomies programmatically
- Exclude categories from Loop, queries, widgets, post navigation
- how to use a different domain/subdomain for authors/catagories on single site?
- Sticky posts on home page, search, tag and archives without plugin
- WordPress 1 domain multiple blogs
- Category count inside the link
- Is there a way to have duplicate category slugs?
- Multiple level category drop-down
- One WordPress Install, Two Categories. Each Category Gets a Domain
- Name of last category level for a post
- How to add style to category link?
- WordPress Ordering Problem. How to fix ordering 1-10-100 issue?
- Filtering Children of the “uncategorized” Category out of the Loop?
- how to show posts of category random by session
- Remove “Parent” Selection When Adding/Editing Categories?
- Filtering search results
- WooCommerce change category url and product base
- Display products for a category, sorted by post_excerpt
- How can we get Catergory / Term Creator
- Seperate WordPress catagories into sepeat list on seperate pages
- Redirect category to first available child post
- Show post only if match all categories
- How do you bulk remove a category from posts?
- How to get product count with respect to categories in WooComerce
- Password protect a specific category page/post
- conditional for sub category on archive page
- Display WordPress Parent Categories Only?
- Filter Home Page Posts in Buddypress [closed]
- Additional featured post on first page
- Color different for the current category
- Assign automatically and manually modify category
- Displaying a full post instead of a slug per category?
- previous/next_post_link in the same sub-category?
- How do I toggle pagination on/off in search results and category listings via a link?
- get_categories() returns “Uncategorised”
- How to show WordPress parent and child category using a different template?
- How can I get categories IDs if multiple categories requested via URI?
- List categories with custom code
- Page display certain Category Posts
- WordPress for Podcast Network
- Categories widget show empty?
- How do I display something on a particular category page?
- Exclude a category from a query that includes its parent category
- Count the posts number for every category
- Add image to each podcast series (or category) in headless WordPress instance [closed]
- Trying to get variables in hacked category dropdown
- Adding category dropdown list to theme options page
- Change of category structure will cause two kinds of URLs for one post
- Cannon see subcategory in permalink
- Portfolio Filter Buttons Wont Work
- Insert HTML content in WP Query at specific point
- set terms to category and subcategory
- Woocommerce filter function not updating
- Get Meta Keys of Custom Categories
- Change slug of Standard wp Post category
- Get posts of a custom post type from category from taxonomy?
- How can I ask to an existing category?
- Hide a category of posts from main blog, and only show in category view
- ACF no print data [closed]
- Change categories count to include media attachments
- How to Sync Menu, Widgets and other masters from Main Website to its Sub Site
- Get the name of category in query
- Archive filtering
- How can I check which archive has referred the single? [closed]
- Split multiple categories into two columns
- WooCommerce shared categories
- Assignt automatically two categories by author
- Add custom categories and subcategories and posts as custom pages
- pagination 404 error, same slug home and categories
- Add filter for specific category only
- How to create category filter on a blog like on the site below?
- Get category base permalink
- Wrong category in URLs accepted like the correct one
- WooCommerce showing active product categories on single product page
- how to exclude specific category types (uncategorized) from blog page?
- Confused about category.php template – not working
- Style a category page the same way as the homepage?
- Conditional statement: if is_category, append at the end of page
- How to Manage and link certain custom taxonomy?
- Store All Post Categories In Array
- How to add an “All” category to the tag cloud?
- Display Taxonomies in loop with template args
- How to create an array with category ids order by the one that has the most recent post
- How to assign image on specified category and not show the image on other categories
- Categories Going to different Blog Pages?
- Display only the latest post
- How to structure Multisite sites into categories?
- Change next_post and previous_link to navigate throught parent categories only
- Template files not working for archives and categories
- Multiple Parent Category URLs
- get posts from 2 categories. (2 posts)
- What defines a post as portfolio page content?
- How to add location as category?
- Converting Categories (with ACF fields) to custom taxonomies
- Taxonomy term RestApi data 10 rows limitions
- Custom EndPoint not working when strip child category in URL