Home › Forums › General Issues › How to filter posts by event month › Reply To: How to filter posts by event month
Thank you for reply!
But does it mean that if I have events over last two years, I would need to duplicate this code 24 times, to create start and end array for every single month… ? And also every month add new one to the list?
Is there a way to make this automatic? So that every month new month shows up on that filter?
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.