I am building a website where I have a custom field in the name Deadline with a date format.
Now, since my listing totally depends on listing dates. I like to build a system where, when the deadline date passes away, it does not show the date anymore but instead says Deadline Passed. Something similar to Screenshot.
Thanks for the details. We recommend using a hivepress/v1/fields/date/display_value hook, where you can change the condition, but it is also important to check the Field name, for example, and which page, otherwise it may be applied to all Date fields.
Please note that we can only provide simple PHP snippets, and if the solution requires advanced customization, we can only provide general guidance. If you need help with customization, please consider hiring an expert: Customize your website | HivePress