Timeline for Custom query with orderby meta_value of custom field
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 19, 2021 at 2:23 | comment | added | johnsnails |
I was using the Toolset plugin to create custom attributes, to use the 'slug' of a custom attribute for the filter I had to prefix it with wpcf- . E.G. 'meta_key' => 'wpcf-order_in_archive'
|
|
Apr 13, 2017 at 12:37 | history | edited | CommunityBot |
replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/
|
|
Apr 24, 2011 at 0:14 | comment | added | Maor Barazany | Well, yes, this is the old method for doing this query and it appears to be working for this specified one. Anyway, for more complex queries, it won't work. I found this is a known issue that is being taken care of, details can be found in trac tickets #15031 and #17065 | |
Apr 24, 2011 at 0:07 | history | answered | Evan Yeung | CC BY-SA 3.0 |