WordPress.org

Ready to get started?Download WordPress

Forums

Date Format (6 posts)

  1. Gatoelho
    Member
    Posted 7 years ago #

    Website (using default theme) doesn't validate the date, using always the default one.

  2. drmike
    Member
    Posted 7 years ago #

    I'm afraid I don't have a clue as to what you mean by "validate the date"

  3. If I recall correctly, the default theme has the date format for posts coded in, rather than respecting the format set in the admin panel.

  4. maerk
    Member
    Posted 7 years ago #

    If you want to change the date format you will have to edit the theme files. You will also need to learn how PHP controls the format of dates. This information is available from the PHP manual:

    http://uk.php.net/manual/en/function.date.php

    Come back here and ask if you get stuck.

  5. nplblog
    Member
    Posted 6 years ago #

    Which theme file will I have to edit?

  6. nplblog
    Member
    Posted 6 years ago #

    I figured it out. Had to make change in single.php, index.php and also archieve.php

Topic Closed

This topic has been closed to new replies.

About this Topic