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
- Remove description in custom taxonomy edit screen
- Link to most recently created category of custom taxonomy in primary navigation menu
- get_the_term_list without specific category
- Sorting Posts Via Custom Taxonomy Values Using Checkboxes?
- 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
- Recreating the hierarchy of taxonomies for a dropdown form menu?
- Show Two custom Post type and their posts on category page
- 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?
- Print terms with taxonomy and metabox value
- 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
- Custom taxonomy not appearing in menu administration panel
- 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
- Build filter for post-type + multi taxonomies + multi terms
- 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?
- Featured Images for Tags?
- 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
- Unknown column ‘wp_posts.ID’ in ‘field list
- Listing Cities A custom taxonmy by selection order
- Query by multiple custom taxonomies
- Remove Custom metabox from particular page template is used
- Restrict viewing of posts by category, user role
- WP Tax query & order by tax query not working
- 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
- Why is it defaulting to “uncategorized” even after I select a custom taxonomy
- How to perform a search inside a specific taxonomy category