Open sewmyheadon opened 8 years ago
Actually, upon further research, this already supported with standard WP query variables:
[ic_add_posts showposts='10' category='sports' orderby='meta_value_num' meta_key='sort_custom_field_name_here' order='ASC']
using the special orderby key of "meta_value" or "meta_value_num"
https://codex.wordpress.org/Class_Reference/WP_Query#Custom_Field_Parameters
Howdy @cyrrill,
Thanks so much for reporting back!
We're working on a few updates to the plugin and the docs and will make sure to test and include this so others can benefit too.
Cheers!
(such as created by Advanced Custom Fields)