Order posts by expiration date using wp_query
-
Hi,
I would like to order a list of posts by the nearest expiration date. The post that is set expire next would be first.
I have attempted to set the orderby part of my query to _expiration-date but it doesn’t seem to give the desired result.
Is this even possible?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.