Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
Not really. I want to sort search results by custom numeric field. I understand WordPress has option to sort by Meta key by inserting meta value. Can you advise the code for Memberlist sortby option? Thanks.
I found that wordpress has this code to sort search results by custom field. Not sure though, how to apply in case of Userpro. Pls. advise.
‘post_type’ => ‘my_custom_post_type’,
‘meta_key’ => ‘age’,
‘orderby’ => ‘meta_value_num’,
‘order’ => ‘DESC’,
This requires custom code and is not available directly in UserPro.
You must be logged in to reply to this topic.