Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Fancybox and result templating › Reply To: Fancybox and result templating
April 17, 2020 at 8:26 am
#26793
Keymaster
Hi,
1&2. Probably using the get_the_date() function is the best option here. It accepts the date format variables.
Something like:
<?php echo get_the_date('d F Y', $r->id); ?>
..and for the time:
<?php echo get_the_date('H:i', $r->id); ?>