This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Fancybox and result templating

#26793
Ernest MarcinkoErnest Marcinko
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); ?>