You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the core/query > core/post-content appears BEFORE the page core/post-content, it shows the page content instead the query loop item content.
This issue is probably related with #42862 and #40743.
Step-by-step reproduction instructions
In the page (post type) tamplate, use the core/post-content to show the page content;
Create a page and add some content;
In the header template, add a core/query block to show a different post type and in the loop, add the core/post-content block.
Go to the page and in the query loop you will see the current post content instead the query loop post content.
The query does not need to be in the header. It is enough that the query is above the content of the page, which will be enough to display the content of the page instead of displaying the content of the query.
Screenshots, screen recording, code snippet
wp-2022-10-14_10.22.14.mp4
Environment info
WP version: 6.0.2;
Plugins: only Gutenberg 14.3.0;
Theme: TT2;
Browser: Microsoft Edge (Ubuntu version).
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Description
If the
core/query > core/post-contentappears BEFORE the pagecore/post-content, it shows the page content instead the query loop item content.This issue is probably related with #42862 and #40743.
Step-by-step reproduction instructions
The query does not need to be in the header. It is enough that the query is above the content of the page, which will be enough to display the content of the page instead of displaying the content of the query.
Screenshots, screen recording, code snippet
wp-2022-10-14_10.22.14.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes