Hi Greg,
Thanks for using Tracks!
The date format can be modified in the Settings menu in your site’s admin dashboard. You can choose from an existing format there, or create your own format. We have a more detailed tutorial on this here as well.
Hi Ben,
thx for you fast reply.
This means changing date format for the whole site though I just want for the front page.
Is there a way to modify the code related to this front page ?
Best
Greg
Okay, to only change the date format on the front page is going to be more complicated.
To do this, you’ll want to download an empty Tracks child theme. Then, copy the “content” folder from Tracks into the child theme. Delete all the files in the “content” folder in your child theme except for “post-meta.php”.
Then, you can modify the date output on line 11. A conditional check like is_home() can be used to supply a different date format for just the homepage.
Thanks a lot Ben,
I will give a try
Best
Greg