Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#54665 new enhancement

Blog posts page might be confusing for users as the content and layout in the editor does not reflect on the frontend

Reported by: lakshmananphp's profile lakshmananphp Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: Cc:

Description

-- Steps to recreate --

  1. Go to the blog page (which can be found on the existing pages from clean installation)
  2. Edit the page and add some blocks or change the layout of the query loop block and save it
  3. Go to the frontend and look for the changes, the blog page doesn't show the layout change or new blocks as expected.

-- Details --
By default in 5.9 beta 3, there is a blog page that shows the latest posts.

When you edit the page and add some blocks or change the layout of the query loop block it doesn't get updated on the frontend.

Either we have to notify the users that, blog page doesn't work this way or disable users from editing it.

Attachments (2)

blog-page-gutenberg.png (315.6 KB) - added by lakshmananphp 3 years ago.
Blog posts page that shows modified content via query loop block
blog-page-frontend.png (251.0 KB) - added by lakshmananphp 3 years ago.
Blog posts page that doesn't show the changes on the frontend

Download all attachments as: .zip

Change History (6)

@lakshmananphp
3 years ago

Blog posts page that shows modified content via query loop block

@lakshmananphp
3 years ago

Blog posts page that doesn't show the changes on the frontend

#1 follow-up: @joyously
3 years ago

This is not broken, although the title of the page is misleading.
If you change the option for showing latest posts on a Page to use the "Blog page", you will see the changes you made. The ability to edit the page should remain so that a user can change it in advance of setting it as the latest posts page.

There is a separate ticket for the editor showing the wrong preview while editing special case pages.

#2 @SergeyBiryukov
3 years ago

  • Component changed from General to Editor

#3 in reply to: ↑ 1 ; follow-up: @cr0ybot
3 years ago

Replying to joyously:

There is a separate ticket for the editor showing the wrong preview while editing special case pages.

Can you link that ticket here?

I wonder if there is a way to solve this issue with the Full Site Editor. Is there a way to make the blog *page* and the home FSE *template* one in the same, or otherwise provide blocks to somehow link the two?

#4 in reply to: ↑ 3 @joyously
3 years ago

Can you link that ticket here?

See https://core.trac.wordpress.org/ticket/49969 which refers to yet another ticket.

I wonder if there is a way to solve this issue with the Full Site Editor. Is there a way to make the blog *page* and the home FSE *template* one in the same, or otherwise provide blocks to somehow link the two?

As I said, it seems to me that it's not a problem. The setting for what shows on the home page and whether there is a latest posts page is elsewhere. The user needs to be able to edit the page, regardless of whether it is set to show as Home or Latest Posts, in order to prepare it in advance. (But you didn't actually describe how your test setup was. If it was the default, the Latest Posts show on the Home page.)

Note: See TracTickets for help on using tickets.