Home › Forums › General Issues › Post expiration & showing posts by expiration date › Reply To: Post expiration & showing posts by expiration date
Hey RD101,
as you already have a plugin to set the date and move posts to a different category, I do not quite see what ACF is supposed to accomplish here.
In order to change the sorting on the blog page, you have to modify the main query. A quick search did not reveal any plugins to that end, so it seems you will not get around using PHP to hook into it. The plugin defines a meta key _expiration-date that can be used for sorting (cf. https://plugins.trac.wordpress.org/browser/post-expirator/trunk/post-expirator.php#L78).
What theme are you running, is it a so-called child-theme, and do you have any experience with PHP?
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.