WordPress.org

Ready to get started?Download WordPress

Forums

How to change dates of all my posts (Urgent!) (8 posts)

  1. thedessertprince
    Member
    Posted 1 year ago #

    Hi,

    I encountered a huge problem with the dates of all my posts. Apparently, ever since I imported a few post from my previous website, the dates seemed to stop at 12 December 2012.

    This is getting very annoying as every new post I publish also have 12 December 2012 as the date of publish even when the day is clearly shown that it shouldn't be on the 12 December 2012.

    I am baffled as to what I can do. When I check my published post on my dashboard, it's clearly stated the date but upon looking at the blog, it's appears to be 12 December 2012.

    Is there something I can do? Please help me because I am at my wits already. Thanks

    Here's my link: http://thedessertprince.com/blog/

    PS: take note of the difference of the day and date of each posts and you will know what I mean.

  2. tomontoast
    Member
    Posted 1 year ago #

    This is an error with your theme. It is using the month as the day of the month hence 12 December, 11 November, 10 October... Try changing theme.

  3. thedessertprince
    Member
    Posted 1 year ago #

    But is there anything I can do to change it?

  4. tomontoast
    Member
    Posted 1 year ago #

    You can contact the theme developer to fix it here http://www.fabthemes.com/june/

  5. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    look through all theme files (starting with index.php, single.php, archive.php, possibly more...) and search for any code with the_date() or the_time() with some formatting strings in the brackets;

    change n to j in that string.

    http://codex.wordpress.org/Function_Reference/the_date
    http://codex.wordpress.org/Template_Tags/the_time
    http://codex.wordpress.org/Formatting_Date_and_Time

  6. thedessertprince
    Member
    Posted 1 year ago #

    ok! thanks alchymyth & tomontoast!

    Really appreciate your help!

  7. tomontoast
    Member
    Posted 1 year ago #

    In index.php, album.php, single-album.php, single.php, archive.php and change <?php the_time('l, n F Y'); ?> to <?php the_time('l, j F Y'); ?>

  8. thedessertprince
    Member
    Posted 1 year ago #

    ok!

Topic Closed

This topic has been closed to new replies.

About this Topic