-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide direction on how to interact with posts listed inside a Query Loop #47645
Comments
Hi, |
I would be interested in knowing why they want to edit the content there. What was the goal they were trying to achieve? I think this is important to know to be able to create a solution. |
I have also observed this behaviour on several recent user-testing sessions.
Taking this as a prompt. The user selected a Theme which had a grid of images on the screenshot / preview of the Theme. Then when they landed in the Site Editor they tried to change the images to make them more suited to their homepage. What they didn't realise was that the "grid of images" was not a Gallery but in fact a Query Loop of a series of Post Featured Image blocks. There was nothing that alerted this users to the fact that this was the case and being new to WordPress they did not have the context for:
I think sometimes - despite our best efforts - we (myself included) forget that users may lack this context. We need to make the affordances around complex blocks such as Query Loop much clearer. Perhaps upon first interaction we need some kind of "notice" to explain what the block represents. We could also consider using custom names for such blocks in Themes which use them. For example it could be given a custom name of "My Latest Posts" and that might help guide the user. Ultimately however we need to find a way of making this block a lot clearer. |
What problem does this address?
I have run into a lot of users who, when using the Site Editor for the first time and interacting with the Query Block, will try to edit the content of the post that is being show/listed inside.
This is not possible because that content is coming from a post, so the user would need to head over the post and edit it there.
The way it currently works, it is just not possible to edit the content of those blocks at all, but no direction or explanation is provided.
I recorded a video of someone interacting with the query block for the first time to illustrate how frustrating and confusing this can be:
clideo_editor_4c90a93c29f44faeabeb60d125a545f7.mp4
Please note that this is a user who has been working with WordPress for over 10 years and are fairly confortable using the block editor to write posts and pages.
What is your proposed solution?
We could modify that text to explicitly say that posts cannot be edited there, and provide a second link to the post list.
On top of that, it would be even more useful if we could detect that the user is trying to edit the content of the blocks, and show some kind of tooltip of message directing the to edit the posts on the post list.
A slightly better version of the above would be to provide a link to edit that specific post and have the link open in a new window. They would need to refresh the Site Editor to see the changes, but we could explain this it would be much more convenient.
The optimal solution would be for posts to be editable within the Query Loop. This is probably very challenging technically and has a number of implications I have not through, but it would be the most convenient and intuitive way to interact with the content of the posts.
The text was updated successfully, but these errors were encountered: