Skip to content

Query Loop: Make users aware that Query Loop might be overriding "Posts per page" setting #64527

@alaczek

Description

@alaczek

What problem does this address?

We have "Posts per page" setting in Settings > Reading, which can also be accessed in the Editor, when editing template such as home.html:
image

Query Loop block can override that setting though by disabling "Inherit query from template" option in block settings. In that case a custom "Posts per page" setting is available on the block level. This is confusing for the customers, because:

  • the Query Loop custom posts per page setting is somewhat hidden, accessible only from the floating toolbar.
  • there is no mention anywhere that global "Posts per page" setting is being overridden.
posts-per-page-2.mp4

What is your proposed solution?

I'm not quite sure what the solution is. Could the global and the custom "posts per page" settings be aware of each other, so that we can let users know that their settings are being overridden?

Perhaps we could include a message here?
image

Another thing that might be useful is making the Query Loop's block "Posts per page" setting more visible by putting it in the block settings in the sidebar too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions