Slightly Cheeky request - How to sort looper provider by acf date field?

Hi @alexander,

I’m trying to put together a CPT for upcoming events, and have an ACF Pro date field of event_start_date
Is there a way to order the looper provider by the ACF date field rather than the post date?

Much thanks!

Scot

Hi Scot,

I’m sorry, there isn’t a way to customize the sorting like that. It’d require making a custom looper with some PHP code.

Ah Bugger! Was hoping it would be something simple. Thank you for taking the time to answer though

Back to the drawing board

You’re welcome - I wish I had better news on the matter.

No worries, I might look into the search/filter plugin that Miro has mentioned in the past

Sounds good!