• Resolved Joe Streno

    (@butisitart)


    Just noticed this today 5/17/15. All my posts are showing todays date. If I look at the WP-Admin posts page, all the posts have the correct dates for when they were created, so it’a not my database.

    Something fishy’s going on here. Any ideas/fix? I’m currently using Tracks Version: 1.35.1.

    https://www.go2jo.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Joe,

    I’m sorry about that, it’s a bug with the new version of Tracks. I’ve been having trouble getting the date to work across all languages and I made an error with v1.35.

    There is an update in the review queue, but it looks like it will be another 7 days until someone from the review team here gets to check it out. So for now, there are two pretty quick fixes:

    1. You could roll back to version 1.34 with the use of this plugin.

    2. You can modify the content.php file. There are two places where the function get_the_date() is used. If you switch it to get_the_date(‘r’) in both places, the dates will display properly again.

    Sorry again for this. please let me know if you need any additional help.

    Thread Starter Joe Streno

    (@butisitart)

    Ben …

    I looked in the content.php file but found zero get_the_date() functions.

    I did find it once in the Content Folder > post-meta.php file, made the change there & it’s working as it should, in both the home page & in posts.

    So that works for now. I await the update.

    Thanks for your help.

    Theme Author Ben Sibley

    (@bensibley)

    Joe,

    Woops you are correct – the date function is in the post-meta.php file, not content.php.

    What will happen is the update will overwrite the post-meta.php file (as always) and add the exact same change that you have just added. Your site should transition over without issue.

    Thread Starter Joe Streno

    (@butisitart)

    Ben,

    That’s what happens when you know enough to be dangerous & go looking! Figured if it wasn’t in content.php, or functions.php, looking for a post-meta file was probably the place to go.

    At least having the proper function to search for helped, without having to scour the WP Codex.

    Thanks!

    Theme Author Ben Sibley

    (@bensibley)

    Haha yea I forgot I moved it in v1.35. Let me know if anything else comes up.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘All Post Dates Have Todays Date’ is closed to new replies.