I was wondering if it was possible to have a message appear if there are no posts published at that moment.
For example:
Client uses custom post types to enter available jobs on a page. If there are not jobs posted, can I display a message only when that happens?
I tried using the condition that the posts were in Draft and I put the custom post in draft to try it out but the message didn’t display. Maybe I missed something?
Thank you