Your order seems arbitrary, so there is no clear way to express it as query parameters. The closest to micromanaging order is by post__in
, but then you have to have all post IDs and it won’t be sane at all for any significant amount of posts.
You might want to simply create and fill another custom field with value that is alphabetically sortable.
Related Posts:
- Custom field value not saving when it contains a URL?
- How to do multiple searches (with logical OR) in WP_Query in hook pre_get_posts?
- How to use $query->set with post__in?
- Sort the result of the main Query in shop page by a custom taxonomy
- How to VAR_DUMP a $variable during checkout process (Is my product meta callable?)
- Tax query in pre_get_posts not working
- Seach custom post type posts only by meta fields?
- Grouping posts by a custom meta value
- Find a way to retrive data updated through metabox plugin to web page
- How to use array in function to get only value I want
- How to update and save user metadata on page visits?
- How to get specific attribute from DB
- Modify main query before it run without pre_get_post
- “pre_get_posts” orderby custom date field in different format?
- Set all WooCommerce Products to Simple, Virtual & Downloadable
- how can i update my postmeta without losing old data?
- Get the total Author Favorited posts
- admin uploads pre_get_posts not working as expected
- Display Content Based on Custom Field Value
- Posts sortable column not sorting properly for custom field numbers
- How do I empty a specific meta_value for all users in PHP
- Sorting a custom post type in pre_get_posts
- Search custom post type posts only by meta fields?
- How to exclude first 2 posts from a specific category for a custom post type archive page
- How to allow searching a custom meta key in admin list table?
- Add class to DIV depending on page loaded
- Need oop for wordpress theme? [duplicate]
- Display Youtube Time Automate from Key
- Content filter won’t work
- How to retrive the text : No movie by this actor
- Make a database query using WordPress
- Is the 404 page automatically displayed if a loop returns nothing?
- update_post_meta only updating on last loop of foreach
- How to have different header.php based on the user logged in?
- How do I remove a category from a wordpress loop>
- How can i count the post added in relationship field, theme display
- Link blogname and blogdescription to the Options Framework
- Liking a facebook page from wordpress website?
- Isotope Drop Down Categories Filter Function
- First Byte Time (back-end processing)
- How do I define a lookup table that will work across all PHP elements of the template?
- How to keep track of when a vote is cast?
- trouble with page_id & highlighting current page
- Convert the_permalink() function output into string
- Making my first wordpress template
- Apply class to every third list item? [duplicate]
- Only show image from custom field when present
- Cinema site, retrive the movies that actor play in
- How to include custom code on a page that’s set to act as homepage?
- retain querystring values when savincustom options in admin
- PHP if statement works in template files, but not header
- How Can I Edit the Registration Code?
- Error while setting role
- Editing a PHP file to include a small text piece on every page
- Get categories names as an array to use it in theme settings
- Should i use the wordpress Options table or to create database table..?
- variable value disappears in a second loop
- Force Users To Relogin
- unknown issue in ‘header.php’ preventing theme from displaying fully
- Hide a div to subscribers(user role) in one page (is_page)
- Security updates to 3.3.2
- Where is this function’s callback getting its arguments from?
- How can I use a sliced image As banner? [closed]
- persist a variable set in header.php all the way down to footer.php
- Echo title attribute php
- Can a page contain php code?
- Last class on last headline?
- Unable to Find Space in Custom Function
- Is it possible to display a DIV to not logged in users and then change it for users who are logged in?
- Strip Paragraph Tag
- Unable to process php via shortcode
- working with term_relationships table
- Creating a blog on my companies new website using WordPress but I have sidebar issues
- Creating a mobile site by adding a new class to the body tag from functions.php
- WordPress plug-in for dynamic download link?
- Using WP functions such as the_title() in an included php file
- GET problem in WordPress
- WordPress gallery shortag
- Almost Done… Post Format Code
- wordpress admin plugin menu custom css
- Help with page nav?
- Show recent posts starting at a specific number archive
- Add title=”” to A PHP Code
- Get Page ID from Backend
- Help with WordPress function inside a shortcode
- Wpdb->insert() doesn’t insert new row after the last one
- WordPress plugin admin page – using WordPress function in linked php file
- HTML table attributes ignored
- What’s the best way to include PHP code in pages?
- Is there any wordpress plugin to upload images and captions to multiple pages once
- How to fix this PHP warning in WP-Admin after upgrading to 3.1.2?
- PHP in Edit Post link
- Removing the first 8-10 letters from a post?
- How to add drag and drop functionalities to a div inside option panel
- WordPress and MySQL: trying to print data using PHP from user_meta custom field data
- Timthumb.php image gallery not working on Multisite WordPress
- Function Reference Documenting Template Tags for use in Custom Theme Templates?
- How do you create two separate Register pages?
- $_GET[‘updated’] does not work in WordPress 3.1?
- Why doesn’t PhotoSmash plugin play well with wp_query?