I am creating a site to promote some SAAS products as an affiliate. But I don’t use Woo because no cart, checkout, or account pages are required. So, I use ACF+CPT instead (I want my site to be lightweight).
I have an ACF date and time picker (I have no idea if I used the correct field) for the deal’s CPT. As soon as I know the expiration date of the deal, I will update the deal so a countdown counter appears based on the date and time I set.
If any of you know a workaround for now, please let me know. Thank you!
I would like to +1 for the original request. For some cases it is possible to use the filters approach provided by @itchycode but it covers only subset of possible cases.
In my situation there is a Custom Post Type, with date-time field, and I want to show countdown timer on the page associated with this CPT, using the value specified in the date-time field. Since the countdown element ID will be different for different pages, it is not possible to use the filters code approach.