wp query – How can I display a category page with future sub categories?
In a recent project I had to build a custom category page.
On this parent category, I display sub categories.(just thumbnail and title)
Some of these subcategories’posts will be published in future.
In subcategory page, I managed, thanks to the answer given here, to display future and published post together and add a special class to future posts, to add an overlay with a message (eg:”coming soon”).
Is it possible to do the same in a parent category with the subcategories thumbnail ?
-display all published and future subcategories (subcategories in which post will be published in future)
-add an overlay on it and make the “future” subcategorie unclickable”..
Thanks for your help..
Leave an answer