Support reply may delay for 3 weeks due to corona virus outbreak, please send us email to support@pickplugins.com
Ticket for: Post Grid
0
nathan
Apr 17, 2019 01:23 AM 1 Answers
Member Since May 2018
Subscribed Subscribe Not subscribe
Flag(0)

I see in the options where I can sort by a meta field in the Post query orderby settings, but not for the meta fields created by Advanced Custom Fields (https://wordpress.org/plugins/advanced-custom-fields/)...

2 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
PickPlugins
Apr 17, 2019
Flag(0)

Welcome to our forum.

If your ACF custom field value save plain number or string you can use directly meta key under post grid settings, please use the option
Post query orderby > “Meta value(Number)” if your custom field value type is number otherwise use “Meta value”

View post on imgur.com

Please watch my testing here with ACF plugin and post grid.

View post on imgur.com

 

If this is still not working you can use filter hook to override query arguments,

https://www.pickplugins.com/documentation/post-grid/filter-hooks/filters-post_grid_filter_query_args/

Regards

nathan
- Apr 17, 2019 11:09 PM
Flag (0)
0

This was very helpful, thanks!

Sign in to Reply
Replying as Submit