• Date is correct in the database for publish date, but when it displays on the front end, it displays as NOV. 30 for all articles. I saw a post that says the solution is in wp-includes/functions.php line 91 but I am not sure exactly what to do with this information to have things display correctly. Please help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • With the help of the Template Hierarchy article, determine what Template is displaying your posts, then paste the content of that template in a pastebin and report the link back here.

    Thread Starter mikevible

    (@mikevible)

    I don’t think it has to do with the template (I am not using one) , because if you view the source on the feed page “https://blog.crnc.org/?feed=rss2&#8221; the <pub Date> for the posts are set to Nov 30, but if you view a post on the front end of blog.crnc.org the correct date is displayed. I am using the feed URL for a custom widget displaying the information, and all that is carrying over that I want to change is the “pubDate” from the feed, I’m just trying to figure out why what the feed says as the date doesn’t match what is in the database.

    Unless I’m misunderstanding, WordPress uses a template (files in your theme folder) to render posts.

    Thread Starter mikevible

    (@mikevible)

    I am not sure what template file it is using. The blog display is not a “page” it is contained in a div so I would assume it is using the index.php file in the default template folder to generate the information.

    However, the way the display was created was simply using the feed URL to display the information in the database. The rest is based upon javascript and CSS. That is why I am hardpressed to tell you what template file is used.

    Please check out https://www.crnc.org to view the problem. The blog is on the bottom left of the page. Any help is greatly appreciated, sorry if I am confusing things.

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