Change date format on Newsworthy theme.
-
Hello, I just wondered if it was possible to change the way the date is displayed in the yellow box next to each post on the “Newsworthy” theme? I have gone into settings and changed the date format there but it doesn’t affect this. As I am in England I would prefer to have the date as DD/MM/YYYY rather than MM/DD/YYYY if possible?
Thanks,
Matt LockeyThe blog I need help with is: (visible only to logged in users)
-
I just checked in my test site and you are right. Even when the date is set to European date format, they continue to display MM/DD/YYYY on the site.
This date display format does seem to be hardwired into the theme, but I will tag this for Theme Staff reply.
-
Hi there,
Thank you for the report. I’ve opened a ticket to see about getting this fixed. I’ll update you once that’s done.
Best,
Michael -
-
Hm, according to the Staff reply in this thread:
https://en.forums.wordpress.com/topic/newsworthy-theme?replies=11#post-1349300Unfortunately this is a theme feature
-
Hi,
It is possible to change the data format.
Open the file:
public_html/blog/wp-content/themes/newsworthy/content.phpLook at line 4:
get_the_date(‘m.d.y’)I changed it to:
get_the_date(‘d-M-Y’)The format for date’s can be found on: http://php.net/manual/en/function.date.php
Greetings, Nanno
-
It is possible to change the data format.
Open the file:
public_html/blog/wp-content/themes/newsworthy/content.php@nblank – WordPress.com users do not have access to the underlying PHP files in order to do this. For clarity: http://support.wordpress.com/com-vs-org/
-
Hi Jennifer,
Thats to bad. I have the site hosted on my own domain. That way I can upload the files myself and make some customizations in the code.
Greetings, Nanno
- The topic ‘Change date format on Newsworthy theme.’ is closed to new replies.