[wp-trac] [WordPress Trac] #18616: WP_Query Order by Taxonomy
WordPress Trac
noreply at wordpress.org
Wed Jul 22 10:45:11 UTC 2015
#18616: WP_Query Order by Taxonomy
-------------------------------------------------+-----------------------
Reporter: justindgivens | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone:
Component: Query | Version: 3.2.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing 2nd-opinion | Focuses:
-------------------------------------------------+-----------------------
Changes (by marsjaninzmarsa):
* keywords: has-patch needs-testing => has-patch needs-testing 2nd-opinion
* status: closed => reopened
* resolution: wontfix =>
Comment:
Otto had a point, but had it 4 years ago - now we have sticky posts and
other custom implementations of the same concept for CPT based on taxes,
what with it?
If I wanna show my "Promoted" posts on the top I must create two separate
`WP_Query`s, or manually play with SQL via hooks, or rearrange `posts`
array after query (last one only if I can bear sticking on each page
separately, what's not right solution in some cases).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18616#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list