Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
847 stars 342 forks source link

[Bug]: Tenku Theme: Blog Posts block not showing the latest post in the front page #7803

Closed kspilarski closed 1 month ago

kspilarski commented 1 month ago

Quick summary

Adding a Blog Posts block in the site editor will display the latest post but not in the live front page.

Steps to reproduce

  1. Activate the Tenku theme.
  2. Go to the site editor and add a Blog Posts block and save. In the editor, you should see the posts including the latest post.
  3. Go to the live front page, and all posts will be there except for the latest post.
  4. Publish a new post in Posts.
  5. Visit the live front page again. The second to the last post (that wasn't appearing before) will now appear, but not the recently published post.

What you expected to happen

The latest post will appear not only in the site editor but also in the live front page.

What actually happened

The Blog Posts block in the site editor shows the latest post, including the other posts. But on the live front page, only the other posts are displayed and not the latest one. Publishing a new post will display the second to last post in the live page, but not the latest one.

This works fine though on regular pages, just not the site editor on the Tenku theme.

Browser

Google Chrome/Chromium

Context

Customer report 8188892-zen and self-testing

Platform (Simple, Atomic, or both?)

No response

Other notes

User case: 8188892-zen I was able to replicate this on my test site.

Site Editor, the latest post is awqqw :

Screenshot 2024-05-14 at 16 42 09

Viewing the front page does not show the latest post awqqw :

Screenshot 2024-05-14 at 16 42 56

I published a new post called Newest post and it appears in the site editor:

Screenshot 2024-05-14 at 17 05 00

But on the front page, it does not show the latest post Newest post but displayed the one before that which is awqqw :

Screenshot 2024-05-14 at 17 03 29

Reproducibility

Consistent

Severity

All

Available workarounds?

Yes, easy to implement

Workaround details

In the Blog Posts block, select specific posts to display the latest post. Or use the Latest Blog Posts block.

github-actions[bot] commented 1 month ago

Support References

This comment is automatically generated. Please do not edit it.

rickmgithub commented 1 month ago

📌 REPRODUCTION RESULTS

📌 FINDINGS/SCREENSHOTS/VIDEO

Replicated it exactly as the OP describes.

📌 ACTIONS

Triaged

liviopv commented 1 month ago

Closing as Duplicate of https://github.com/Automattic/wp-calypso/issues/69306

cc @kspilarski @rickmgithub