how to display time in front end ?
-
Hi All,
I don’t maange to display the time in front end from my form, I’m using simple fields as well,
I’ve been doing the following in my single.php:
<?php if (simple_fields_value("ev_timefrom") <> '') echo '<div class="detailspacer">Time from:</div><div class="detailvalue">' . $timefrom_uk_nice[time_format] .'</div>'; ?>
<?php $timefrom_uk_nice = simple_fields_value("ev_timefrom"); ?>
But it doesn’t display anything once I have submit.
However, if i go to the dashboard of my custom post, change the time from there, and update it appear. But I would like the time to appear on the submission, as user will not have access to the backend.
Thanks for your time !!
https://www.ads-software.com/plugins/gravity-forms-custom-post-types/
- The topic ‘how to display time in front end ?’ is closed to new replies.