Essential Grid: how to sort using a custom field AND ALSO the title of a post?

I already know how to sort only using the custom field (custom meta referenced), but I’d like to do it together with the post title.

Hello Leonardo,

Thanks for writing in! You will need to add “Additional Parameters” in your Ess Grid settings.

You can check out this documentation for reference:

Best Regards.

Hi, can you please send me the parameters?

My custom field name is “ordenacao” and I tried these lines below, but doesn’t worked:

meta_key=ordenacao&orderby=array(meta_value_num=>DESC,title=>ASC)
and
meta_key=ordenacao&orderby=array(meta_value_num=DESC,title=ASC)

I’m following the Wordpress documentation:

Hey @leomello.

We need to check and investigate your backend settings so that we can fully understand your concerns. That being said, please give us the following information in a Secure Note.

  • WordPress Login URL
  • Admin level username and password
  • Page URL in question

You can find the Secure Note button at the bottom of your posts.

Thank you.

Hi, Marc… I inserted the secure note. Thanks.

Hey Leonardo,

In the Additional Parameters field, you can insert orderby%5Bmeta_value_num%5D=DESC&orderby%5Btitle%5D=ASC&meta_key=age

If you want to know how I got this query parameter, you can check out this old thread:

Kindly let us know how it goes.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.