Home › Forums › General Issues › How to filter posts by event month › Reply To: How to filter posts by event month
What you are looking for is that you need to create query variables in the URL and then filter the posts by these query variables. While you’re using ACF to create and display the custom fields you’re problem really isn’t with ACF.
You are either going to need a form that submits the filter values or you will need to generate URL that include query strings with the the values. Then you need to get the values from $_GET and generate the QP_Query using those values.
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.