[wp-trac] [WordPress Trac] #58600: wp_query Enhancement
WordPress Trac
noreply at wordpress.org
Thu Jun 22 13:21:56 UTC 2023
#58600: wp_query Enhancement
-----------------------------+-----------------------------
Reporter: thakordarshil | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.2
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
I wolud like to enhance the wp_query to retrive post base on catgory
orders.
Category Ex. with post
Mobile -: Post-1, Post-3, Post-6
Appliance -: Post-2, Post-8, Post-10
I Need Posts like in this order using wp_query of order by category
ASC/DESC
Current output is according to ID order
Post-1
Post-2
Post-3
Post-6
Post-8
Post-10
Expected output
Post-2
Post-8
Post-10
Post-1
Post-3
Post-6
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58600>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list