Your problem is in using as orderby value meta_value
and thus the order is correct – from computer point of view. To get currect order from human point of view, try to use meta_value_num
instead. You can read more in here: https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters
Related Posts:
- Custom order of terms for custom taxonomy in admin and website
- Query Multiple Custom Taxonomies
- What SQL Query to do a simple find and replace
- Retrieve posts by term id custom query
- get_the_term_list without links in 3.1
- Display category posts grouped by taxonomy
- restrict_manage_posts not working in 3.3.1
- wp_insert_term – parent & child problem
- How can I set a default listing order on the admin page for a custom taxonomy? (without plugins)
- Custom Fields and performance
- Sort posts by number of matched terms
- Filter all queries with a specific taxonomy
- SQL to update custom post taxonomies
- wp_query orderby title and meta key value (WP3.1)
- Creating a custom Admin panel
- Looping Through Custom Tax Terms and Displaying All Posts For Each
- Link to most recently created category of custom taxonomy in primary navigation menu
- get_the_term_list without specific category
- Improving WP_Query performance for multiple taxonomies
- Taxonomy.php issue with search and filters
- Extending wordpress search to include excerpts and taxonomies?
- How to List Parent Term Links for Custom Taxonomy With & Without Children?
- wp_query to display custom taxonomy terms
- Sort custom taxonomy terms order by both count and name
- How to list all record from one custom taxonomy start with only one letter i.e A
- Removing the “Popular Terms” area from the Taxonomy Edit Screen in the Admin Area
- Creating an Archive using a Custom Taxonomy
- Custom taxonomy query not working with switch_to_blog
- How to show the entries in a custom taxonomy by author?
- $wpdb query a post type within a specific taxonomy term while ordering posts by custom meta value?
- List Recent Post Titles from Custom Taxonomies?
- Alter post order on taxonomy template
- query_posts and custom taxonomy posts order
- Custom Taxonomy Term Caching?
- How do I move/order posts with a tag to the end?
- Checkbox onclick filtering on the same page
- Some of my custom taxonomies are not showing but still counted in a WPMU set up
- A way to query custom taxonomies by name
- add hirarchy of categories in products grid of visual composer
- get the taxonomies terms associated with users
- Include data from custom table in WP_Query
- Sorting Custom Posts on Archive page with pagination
- Add success message to category add screen
- wordpress testimonials
- Hiding taxonomies with no children WP_Query & tax_query
- Rewrite Rules returning wrong data
- Sorting main query by custom taxonomy slug
- List related terms + taxonomies
- Search Query for Multiple Terms In Same Taxonomy
- Best structure for entering recipes in a WordPress theme?
- Update table wp_term_taxonomy.count after INSERT INTO via SQL
- Exclude taxonomy term from all loops, but having it on widget
- Get Terms for Page
- Add attribute taxonomy through code don’t appear in admin product page
- Best way to redirect taxonomy terms to pages
- Create alphabetical Pagination for custom taxonomy?
- Get list of taxonomies associated with users
- query_posts that have custom taxonomy and limiting what shows based on the taxonomy
- Sort and paginate custom post taxonomies alphabetically
- Several taxonomy query (like filter)
- Taxonomy archive template that shows posts from more than one taxonomy
- how to access the $query variable inside taxonomy-xxx.php template file?
- Displaying Posts Attached to Custom Taxonomy Terms
- Update Custom Taxonomy Value for a post based on custom date field
- Taxonomy Overview Page?
- SQL query to get posts from multiple categories but not in a category
- Get 1st parent category id from post
- How to get the term description in a taxonomy term archive query?
- making an index from custom taxonomies and tags of posts (not hierarchical taxonomy)
- Sort taxonomy page alphabetically by meta rather than default post date
- Use wp_list_categories to list parent categories from actual term
- Query by multiple custom taxonomies
- Remove Custom metabox from particular page template is used
- Restrict viewing of posts by category, user role
- Assign a default description to new terms under a custom taxonomy
- WP Query : strange behaviour with multiple no-hierarchical tax
- WordPress search form and search result through ACF field in custom taxonomy
- Fastest and most efficient SQL query to check if UID exists
- Group & Sort Taxonomy terms by letter – Is there a better way?
- WordPress tag or archive php file customization
- Best Method to Switch Between Terms (Custom Taxonomy)
- sort Posts by custom user filed
- WordPress shortcode Issue!
- Query pages by child term
- Can I use multi (sub) levels of relation (AND | OR) on custom query?
- Tax Query not working
- Custom taxonomy – query returns an error
- How to perform a search inside a specific taxonomy category
- Trying to achieve row posts below category with multiple loops in custom tax
- Adding a query var to taxonomy term archive – gets redirected to the other taxonomy archive page
- Custom WordPress SQL Query 4 posts per custom taxonomy
- add_query_arg to look up page title
- Advanced search: roles and multiple taxonomies
- Special Query: Title, Terms, Content – %LIKE%
- How to update WordPress custom SQL Select query for custom taxonomies so that syntax is correct?
- Can I use $query->set() (in a pre_get_posts() hook) with a custom taxonomy in WP 3?
- Custom Taxonomy, shows empty value (home page of website)
- query grandchildren taxonomy terms
- Custom Search only for my Custom Taxonomy Page – data
- Custom taxonomy with custom meta value is not sorting correctly (query returns the same value for orderby regardless of sort column click)