Home › Forums › Add-ons › Repeater Field › repeater dates arranged by months title › Reply To: repeater dates arranged by months title
Thank you James!
It works as i needed!
This will help a lot of ACF users.
the only thing i changed is 3,2 into 4,2 at line $theMonth = substr($row['date_field_name'],4 ,2);
cause my dates appear as 20160412.
to finalize the code a question, how to echo the dates and title months to show as “pretty”?
i used before $start_date_pretty = date_i18n( 'l, F j, Y', $start_date );
but i don’t see how i can use that in this working code.
Thank you again
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.