- Views69 times
- Answers1 answer
I have added some code to the ‘default.php’ template file for the preview panel
<?php echo get_the_time(); ?>, <?php echo get_the_date('F, dS'); ?>
This works fine on the listings page (shows the date correctly). However, on the homepage in the listings feed section it shows the date that the homepage was created and not the date the listing was posted.
Anything you can suggest?