• Hi

    I’be got my WordPress install up and running, but am having a problem getting the date displayed as I would like, in UK format, when using a different theme.

    I’ve read the info at http://codex.wordpress.org/Formatting_Date_and_Time and would be very happy to change the format to

    l, F j, Y

    But it’s not clear to me which file I need to change… the theme I’m using seems to be overriding the date format I specify on the settings/general page.

    Which file should I be looking to edit?

Viewing 2 replies - 1 through 2 (of 2 total)
  • yes, the theme controls your date format as displayed.

    go into index.php in your theme

    look for <?php the_time('F j, Y'); ?>
    or something similar and put your formatting in the brackets

    you may also want to edit other theme files such as page.php and single.php as necessary

    Thread Starter ringsoft

    (@ringsoft)

    Sir, you a scholar and a gentleman.

    Two hours banging my head against the wall trying to figure it out myself, sorted here in 10 minutes.

    Many thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘changing date format’ is closed to new replies.