Skip to content

Surface 'Posts per page' setting in more templates #63660

@jameskoster

Description

@jameskoster

The Blog Home template has a setting that enables users to change the number of posts displayed per page. Behind the scenes this modifies the global posts_per_page option.

To enable greater design expression it would be good to consider bringing this affordance to other archival templates:

  • author.html & family (author-$id, etc.)
  • category.html & family
  • tag.html & family
  • taxonomy.html & family
  • date.html
  • search.html

In terms of how it works, my expectation would be something like:

  • By default, each template would inherit the global posts_per_page value.
  • When the user supplies a different value a filter is added to modify the template query.

Here's a mockup:

Screenshot 2024-08-29 at 14 38 37

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs DevReady for, and needs developer efforts[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Status] In ProgressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    Status

    Needs Dev

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions