Date is not showing

Hi,

Date is not showing on some posts on the homepage. Im using Ethos. What is wrong?
This error has occurred more frequently as more posts is being written.

The website is:

Hi @erik_ragnar,

Thanks for writing in! Do you have any template customization in your Child Theme? To isolate the issue, please check for the following:

  1. Ensure everything is up to date according to our version compatibility list at https://theme.co/apex/forum/t/troubleshooting-version-compatibility/195. Please follow the best practices when updating your theme and plugins. See https://theme.co/apex/forum/t/setup-updating-your-themes-and-plugins/62 for more details.

  2. Clear all caches including browser cache then deactivate your caching plugins and other optimization plugins.

  3. If you’re using a CDN, please clear the CDN’s cache and disable optimization services.

  4. Test for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

  5. Remove custom CSS, JavaScript and deactivate your child theme and switch to parent theme.

Let us know how this goes!

Hi,

Its the latest release of both WP and Pro. I am using your child-theme. I do not use CDN. I have cleared my browser cache. About CSS/Jacascript.

I know it has nothing to do with CSS nor JS. If you look at the website you can see that some posts have date rendered, where some do not render.

Changing to a new publish day can make the date render, but the site is built around publishing.

I cannot simply remove stuff to isolate the problem. The website is in producion. This has to be related something else.

Hi @erik_ragnar,

The date is rendered however there is no data showing.

I could not do anything more in the front end.

In this case, please share us your admin credentials so we could check your setup closer.

Don’t forget to set it in a secure note.

Let us know how it goes.

Thanks.

@nico

I managed to solve this. I initially used <?php the_date(); ?> to render the dates. However, that would only make the first post in hierarchy to display the date. The fix was to use: <?php echo get_the_date(); ?> to render date on all posts.

Glad you’ve sorted it out :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.