Where to set time/date format for last_modified shortcode

March 2014 WordPress Theme
GK User
Thu Apr 10, 2014 4:50 pm
In the settings for WP the Time/Date Settings are set to 10.April 2014, 17:45

In the Update Widget Area the shown time setting for
Code: Select all
[last_modified]
is 5:45 PM UTC, April 10, 2014

How can I change it to the standard setting of the WP setting?
User avatar
Senior Boarder

GK User
Fri Apr 11, 2014 9:09 am
Hi,

You can change it in News2/gavern/helpers/helpers.shortcodes.php file in gk_last_modifications function. Inside this function you can change date format - g:i A T, M j, Y
User avatar
Moderator

GK User
Fri Apr 11, 2014 9:14 am
Thank you!

Have a good day!
Tobias
User avatar
Senior Boarder


cron