Home › Forums › Front-end Issues › Send posts that have a specific ACF meta field empty to the bottom › Reply To: Send posts that have a specific ACF meta field empty to the bottom
What that post is saying is this.
Do your query as you are doing it and add a posts_results
filter. In this filter you short the posts into two arrays: those that have a start date and those don’t have a start date. Then you merge the two arrays and return the resorted posts.
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.