Maybe try something like this before the loop:
<?php
query_posts( wp_parse_args( $query_string, array(
'meta_key' => 'your_meta_key',
'orderby' => 'meta_value'
) ) );
?>
Related Posts:
- Custom taxonomy with custom meta value is not sorting correctly (query returns the same value for orderby regardless of sort column click)
- WordPress database error: [Not unique table/alias: ‘wp_postmeta’]
- Custom order of terms for custom taxonomy in admin and website
- How much faster is a tax query than a meta query?
- Use custom posts as taxonomy term meta replacement?
- How can I set a default listing order on the admin page for a custom taxonomy? (without plugins)
- Sort posts by number of matched terms
- Is it possible to sort the post based on a custom field?
- List Custom Taxonomy Values according to a Post Meta Value
- Link to most recently created category of custom taxonomy in primary navigation menu
- Sorting Posts Via Custom Taxonomy Values Using Checkboxes?
- get_the_terms() to show all custom taxonomies
- Sort custom taxonomy terms order by both count and name
- Single reusable value for post meta: Custom Taxonomy or Post Meta?
- How to show the entries in a custom taxonomy by author?
- Alter post order on taxonomy template
- query_posts and custom taxonomy posts order
- What is faster: custom taxonomy or serialized post-meta for db retrieval? (over 60,000 posts)
- Is it possible to store Json data in post_meta and manipulate
- Add Custom Taxonomy for Blog Meta Info
- How to separate posts in loop?
- Creating terms vs custom post meta to save data?
- Sorting Custom Posts on Archive page with pagination
- WordPress Custom post query sorting does not work
- Does using custom taxonomy is more CPU efficient than using meta_data?
- wp_query not resetting, last post hanging
- Count of posts by different parameters?
- Sort and paginate custom post taxonomies alphabetically
- WooCommerce custom taxonomy as meta?
- Convert post meta to custom taxonomy?
- Listing Cities A custom taxonmy by selection order
- Count tags for current post and save into custom meta field (and update it on post edit)
- WP Tax query & order by tax query not working
- Is it possible to sort the post based on a custom field?
- Group & Sort Taxonomy terms by letter – Is there a better way?
- Custom post type term names with ampersand in the term name
- sort Posts by custom user filed
- Looking for suggestions on creating simple database (Help!!)
- get meta fields and taxonomy of any post type
- Where to put a migration script to switch post information?
- Update fields with post object and custom tax with wp_insert_post
- How can I show custom field according to taxonomy?
- How to handle custom taxonomy archive when no posts will have that taxonomy
- How can I list all the meta in a custom taxonomy?
- Using wp_query is it possible to orderby taxonomy?
- Can the Next/Prev Post links be ordered by menu order or by a meta key?
- Advanced search form with filters for custom taxonomies and custom fields
- “tax_query” parameter not working with WP_Query
- 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
- Orderby meta_value only returns posts that have existing meta_key
- 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)
- Remove taxonomy base or term from url
- Can you add the visual editor to the description field for custom taxonomies?
- Adding Category/Tag/Taxonomy Support to Images/Media
- Add default WordPress tag meta box to User Profile
- Custom Taxonomy Endpoint Pagination using paginate_links()
- How do I get the top-level terms in a custom taxonomy?
- Check if a post has any term in this custom taxonomy?
- Query Custom Post by Taxonomy Category
- Custom columns on edit-tags.php main page
- Loop through custom taxonomies and display posts
- How do I add a custom taxonomy as an option for menus under “Appearance” > “Menus”
- custom post type taxonomy “tag” archive : no post found
- How to get WooCommerce Product Category Link by ID?
- Order get_terms using a Custom Field
- Add custom taxonomy fields when creating a new taxonomy
- get_term_children for immediate children only (not grandchildren)
- Using pre_get_posts to rewrite search query to display posts from multiple taxonomies
- Custom taxonomies capabilities
- Contact Form 7 – Populate Select List With Taxonomy [closed]
- Can’t get a custom template taxonomy page to display
- Query users by custom taxonomy and user role
- Display category posts grouped by taxonomy
- WP REST API no longer supports filter param, so how do I get posts in a custom taxonomy?