• Hey guys….. I have a new blog I started & currently have two posts written…. when you view them on the site they both state I posted the article on Sep 9th; which is wrong…. when I view them via the admin one shows I posted it on Sep 3 & the other Sep 11…. which is correct.

    Any ideas?

    Thanks!

Viewing 14 replies - 1 through 14 (of 14 total)
  • Have you tried:

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems?

    You can change the date/time it was published on the post edit page scroll down to where it says “Publish” and in that category it will have “Staus”, “Visibility”, and “Published On” click on the “Edit” link for “Published On” and you can change the date/time there.

    I don’t know why it displayed the wrong date, could be a bug.

    Thread Starter gutterboy333

    (@gutterboy333)

    Esmi: All my plugins keep their settings if I deactivate them right?

    FishDigFish: Yeah.. it already says the correct date in there, so doesn’t matter if I change it haha

    All my plugins keep their settings if I deactivate them right?

    Yes – they should. Ditto your theme if you switch it.

    I don’t know; Have you tried changing it?

    Thread Starter gutterboy333

    (@gutterboy333)

    Ok….. I changed to the default theme & it worked correctly. ??

    Would anybody be able to tell me what file to look in to try & fix this?

    is that on the front page?
    then it is likely to be in index.php.

    theme?

    Thread Starter gutterboy333

    (@gutterboy333)

    Well it’s in the loop I guess you would say…. posts show on the front page & on the category pages & when you view the actual posts themselves.

    Though this seems doesn’t come with a “loop.php” file it seems? FWIW I’m using the “Revolution Magazine” theme.

    Check the code that displays the date for index.php and compare it to the code that displays the date for single.php

    Just an educated guess, but I’ll say they’re different.

    It’s probably something like <?php the_time(__('F jS, Y', 'Revolution Magazine')) ?>

    If they’re different you’ll want to change the one for index.php to match the one for single.php

    Thread Starter gutterboy333

    (@gutterboy333)

    Well I had a look & it looks different to the way the default theme does it, but there is just too much code to figure out what the problem is without spending a long time debugging…. I have reported the issue to the theme designer so hopefully they fix it soon.

    Did u ever resolve this date post issue? I just had a site designed with the same theme and the posting date is showing up incorrectly…checked everything I can think of. Let me know if you found a fix. Thanks.

    Thread Starter gutterboy333

    (@gutterboy333)

    Yeah I actually figured it out, forgot to post the solution here sorry. Fix is below ??

    Check out line 60 of theme-functions.php:

    if (in_array(‘Date’, $rev_meta)) { echo ’ on ’.get_the_time(‘F m, Y’); }

    Change to:

    if (in_array(‘Date’, $rev_meta)) { echo ’ on ’.get_the_time(‘F d, Y’); }

    That’s it!

    Thanks a bunch…my website designer let me know he fixed it.

    Thread Starter gutterboy333

    (@gutterboy333)

    NP…. Happy to help! ??

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Post date always the same?’ is closed to new replies.