Add year to startup theme post

Get help or discuss with other members about business Joomla! 3 and 2.5 template designed especially for your start-up projects on dedicated support forum.
GK User
Tue Sep 17, 2013 12:11 am
Is there anyway for the year to be displayed for posts in the startup theme.
User avatar
Fresh Boarder

GK User
Tue Sep 17, 2013 6:55 am
You could edit this file:
wp-content/themes/Startup/gavern/helpers/helpers.layout.fragments.php
and change:
Code: Select all
<?php echo esc_html(get_the_date('d M')); ?>


with

Code: Select all
<?php echo esc_html(get_the_date('d M Y')); ?>


after that You will need to do some css styling to make date fit.
User avatar
Moderator

GK User
Wed Sep 18, 2013 1:28 am
Perfect. Thanks!
User avatar
Fresh Boarder

GK User
Wed Sep 18, 2013 10:25 am
No problem, I'm glad I could help :)
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.