Looper Alphabetical Sort by ACF data field

Hi -

I’m trying to use a custom Query Builder Looper Provider to display posts by “State” ie. AL, CO, DE, PA… which is set in a custom ACF field. I’m not having any luck and am stumped. I can sort by Title/Company Name, but trying to use the State field does nothing. My thinking is this should be pretty simple, is there a setting or simple step I’m missing?

Thanx

Hello @aalkemist22,

Thanks for writing to us.

In order to help you with your concerns, we need to check your settings. I would request please share the admin login details meanwhile I would suggest you troubleshoot a few of the common issues before we investigate your settings. Please share your details in a secure note. Please provide the following details

  • WordPress Login URL
  • Admin-level username and password
  • Exact page URL

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

Thanks

https://shadeflexcanopies.com/wp-admin - see previous secure note

Hello Greg,

In the Looper Provider Query Builder, you will have to set the “OrderBy” to Meta Value:
image

And then you will have these items returned in that order:

  • See the secure note below

Thanks

That’s Spectacular!! Thank you, I knew it was something that should not be terribly difficult!!
Is it possible to have a double sort? ie. by state and then also in alphabetical order by title?

1 Like

Hello Greg,

Regoreatfully there is no option for that at the moment. It would require custom development. I would suggest you please contact a developer who can assist you with your concerns or subscribe to One, where customization questions are answered. Please note that we don’t provide custom development support, it is out of the support scope.

Thanks for understanding.