Skip to content
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

Homepage Posts: Filter by date #1224

Open
gamebits opened this issue Aug 3, 2022 · 0 comments
Open

Homepage Posts: Filter by date #1224

gamebits opened this issue Aug 3, 2022 · 0 comments
Labels

Comments

@gamebits
Copy link
Contributor

gamebits commented Aug 3, 2022

Is your feature request related to a problem? Please describe.
Some publishers (Berkeleyside, El Sol) use a specific tag, such as top-story, to determine which posts are displayed on the homepage. If a Homepage Posts block is set to show only 1 such story, then it will always be the latest story.

There may be cases where that one story is too old to warrant showing on the homepage, in which case it would be better to show none at all. But untagging that latest story would simply cause the homepage to show the next-oldest story; all such posts would have to be untagged.

Describe the solution you'd like
If the Homepage Posts block included a date filter, such as "Only stories from the last X days", then the oldest story would organically scroll off the homepage, without any editing or untagging needed.

Describe alternatives you've considered
Editors could edit the Homepage Posts block to use the "Specific Posts" field, though some publishers would prefer editors stay out of the homepage at all costs.

A reusable block could also be inserted into the homepage, and editors could edit the reusable block instead of the homepage. However, this seems unintuitive and cumbersome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant