• Resolved gandalf458

    (@gandalf458)


    I have successfully installed WP and have changed several options, added a user and made a post at https://www.grador.biz/blog/ I still have so much to learn and I keep reading the documentation.

    In general settings I have changed the date format to 7 June 2010 but the dates shown against posts are still show as June 7th, 2010. What am I missing?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The default theme has the date format hard-coded, and so does not honor the Settings->General option. In index.php, and probably in other templates, change this:

    <?php the_time('F jS, Y') ?>

    to this:

    <?php the_date('') ?>

    Thread Starter gandalf458

    (@gandalf458)

    Ah – thanks vtxyzzy!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Date format’ is closed to new replies.