Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

Sort taxonomy page alphabetically by meta rather than default post date

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:

  1. Custom taxonomy with custom meta value is not sorting correctly (query returns the same value for orderby regardless of sort column click)
  2. WordPress database error: [Not unique table/alias: ‘wp_postmeta’]
  3. Custom order of terms for custom taxonomy in admin and website
  4. How much faster is a tax query than a meta query?
  5. Use custom posts as taxonomy term meta replacement?
  6. How can I set a default listing order on the admin page for a custom taxonomy? (without plugins)
  7. Sort posts by number of matched terms
  8. Is it possible to sort the post based on a custom field?
  9. List Custom Taxonomy Values according to a Post Meta Value
  10. Link to most recently created category of custom taxonomy in primary navigation menu
  11. Sorting Posts Via Custom Taxonomy Values Using Checkboxes?
  12. get_the_terms() to show all custom taxonomies
  13. Sort custom taxonomy terms order by both count and name
  14. Single reusable value for post meta: Custom Taxonomy or Post Meta?
  15. How to show the entries in a custom taxonomy by author?
  16. Alter post order on taxonomy template
  17. query_posts and custom taxonomy posts order
  18. What is faster: custom taxonomy or serialized post-meta for db retrieval? (over 60,000 posts)
  19. Is it possible to store Json data in post_meta and manipulate
  20. Add Custom Taxonomy for Blog Meta Info
  21. How to separate posts in loop?
  22. Creating terms vs custom post meta to save data?
  23. Sorting Custom Posts on Archive page with pagination
  24. WordPress Custom post query sorting does not work
  25. Does using custom taxonomy is more CPU efficient than using meta_data?
  26. wp_query not resetting, last post hanging
  27. Count of posts by different parameters?
  28. Sort and paginate custom post taxonomies alphabetically
  29. WooCommerce custom taxonomy as meta?
  30. Convert post meta to custom taxonomy?
  31. Listing Cities A custom taxonmy by selection order
  32. Count tags for current post and save into custom meta field (and update it on post edit)
  33. WP Tax query & order by tax query not working
  34. Is it possible to sort the post based on a custom field?
  35. Group & Sort Taxonomy terms by letter – Is there a better way?
  36. Custom post type term names with ampersand in the term name
  37. sort Posts by custom user filed
  38. Looking for suggestions on creating simple database (Help!!)
  39. get meta fields and taxonomy of any post type
  40. Where to put a migration script to switch post information?
  41. Update fields with post object and custom tax with wp_insert_post
  42. How can I show custom field according to taxonomy?
  43. How to handle custom taxonomy archive when no posts will have that taxonomy
  44. How can I list all the meta in a custom taxonomy?
  45. Using wp_query is it possible to orderby taxonomy?
  46. Can the Next/Prev Post links be ordered by menu order or by a meta key?
  47. Advanced search form with filters for custom taxonomies and custom fields
  48. “tax_query” parameter not working with WP_Query
  49. How do I exclude a custom taxonomy from the post loop
  50. get_posts assigned to a specific custom taxonomy term, and not the term’s children
  51. How can I get only parent terms?
  52. How to modify a taxonomy that’s already registered
  53. Retrieve posts by term id custom query
  54. Change order of Custom Taxonomy List
  55. Get the the top-level parent of a custom taxonomy term
  56. get_the_term_list without links in 3.1
  57. Inserting terms in an Hierarchical Taxonomy
  58. get_terms – only top level
  59. Custom taxonomy terms not showing as list Gutenberg Editor
  60. Altering the appearance of custom taxonomy inputs
  61. How to only list the child terms of a taxonomy and not their parents?
  62. Get term SLUG by term ID
  63. Is ACF being a honey trap? [closed]
  64. Get term name from term ID?
  65. Check if Current Category has Children
  66. How to use taxonomies on attachments with the new Media Library?
  67. Hierarchical taxonomy UI
  68. WordPress taxonomy radio buttons
  69. How to prevent new terms being added to a custom taxonomy?
  70. Custom taxonomy, get_the_terms, listing in order of parent > child
  71. Orderby meta_value only returns posts that have existing meta_key
  72. How to remove the tag cloud from custom taxonomy admin page?
  73. custom taxonomy and pages rewrite slug conflict gives 404
  74. Inserting a term into a custom taxonomy
  75. Count posts in custom taxonomy
  76. How to add images to taxonomies?
  77. Read-only taxonomy (user can assign term but can’t create or edit existing terms)
  78. Remove taxonomy base or term from url
  79. Can you add the visual editor to the description field for custom taxonomies?
  80. Adding Category/Tag/Taxonomy Support to Images/Media
  81. Add default WordPress tag meta box to User Profile
  82. Custom Taxonomy Endpoint Pagination using paginate_links()
  83. How do I get the top-level terms in a custom taxonomy?
  84. Check if a post has any term in this custom taxonomy?
  85. Query Custom Post by Taxonomy Category
  86. Custom columns on edit-tags.php main page
  87. Loop through custom taxonomies and display posts
  88. How do I add a custom taxonomy as an option for menus under “Appearance” > “Menus”
  89. custom post type taxonomy “tag” archive : no post found
  90. How to get WooCommerce Product Category Link by ID?
  91. Order get_terms using a Custom Field
  92. Add custom taxonomy fields when creating a new taxonomy
  93. get_term_children for immediate children only (not grandchildren)
  94. Using pre_get_posts to rewrite search query to display posts from multiple taxonomies
  95. Custom taxonomies capabilities
  96. Contact Form 7 – Populate Select List With Taxonomy [closed]
  97. Can’t get a custom template taxonomy page to display
  98. Query users by custom taxonomy and user role
  99. Display category posts grouped by taxonomy
  100. WP REST API no longer supports filter param, so how do I get posts in a custom taxonomy?
Categories custom-taxonomy Tags custom-taxonomy, post-meta, sort
making an index from custom taxonomies and tags of posts (not hierarchical taxonomy)
WordPress text filed input only inter value?

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress