Home › Forums › Add-ons › Repeater Field › order acf repeater-field by datepicker in wp-query › Reply To: order acf repeater-field by datepicker in wp-query
Alternatively, You will need to create a custom query using either the get_posts() or wp_Query and have the posts filtered by the date picker values as the meta_keys. But because you do not know the row number, you will have to create a custom function to change the standard ‘=’ to ‘LIKE’ in the query.
Please see: https://support.advancedcustomfields.com/forums/topic/sort-posts-by-date-picker-in-repeater-field/
I hope that helps
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.