Tell us what you are trying to do?
I work at a University, and I have created a Custom Post Type and View for Emergencies (like Fire, hurricanes, etc.).
We toggle the display of select Emergency posts on and off in the View output by a Category (Status ... Active or Inactive)
99% of the time there is no emergency ... and we have a single, 'default' Active post offering some general information.
I do NOT want this 'default' post the show Date/Time ... it's timeless, and a date/time might confuse users.
When an actual emergency happens, we create POSTS giving people status and instructions.
We DO want these posts to show Date/Time in the View ... as are critical details.
Is there a way, in a View, to show (or hide) Date/Time conditionally for certain posts?
I'm having my post writers add the Date/Time manually to their Post Content (Body).
It would be nice to display via the publication date/time... and would help decrease user error.
Much thanks for any ideas you can offer 🙂
Is there any documentation that you are following?
None
Is there a similar example that we can see?
Sorry - I do not have.
What is the link to your site?
The site is not publically available --- in dev.