I am using ACF for events listings. I’m using Custom Content Shortcode to display the events on my home page, but I am having difficulties sorting them properly. I want to sort them by the event date. I have tried [loop type=sjxa_events orderby=event_date] and [loop type=sjxa_events orderby_6] (6 being the field number), but neither is working. Any suggestions?
- The topic ‘Sort by custom field’ is closed to new replies.