Oct 05 2011

WordPress Shows Time Instead of Date

One of the things that puzzled me was that all the dates of my posts were displayed as time:

English Time

English Time

International time

International time

This was a consequence of activating the qTranslate multilingual plugin. I soon discovered that it was not qTranslate’s fault but poor practice from the theme programmers. You should use the_date() instead of the_time() as was stated in the qTranslate FAQ. The use of the function can be found at least in [your-blog-root]/wp-content/themes/[your-current-theme]/index.php and single.php, depending on the theme.

Leave a Reply