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

Blocks: Option to display posts based on date similar to option to display posts based on category or tag #62686

Open
pauljacobson opened this issue Apr 12, 2022 · 1 comment
Labels
[Block] Blog Posts [Block] Query Loop [Status] Core Fix Needed A fix within the Core WordPress or Gutenberg project is required to resolve this issue. Triaged To be used when issues have been triaged. [Type] Feature Request Feature requests

Comments

@pauljacobson
Copy link

What

There is a gap in our blocks' functionality when it comes to displaying a list of posts based on publication date.

The analogy that blocks such as the Blog Posts Block and Query Loop Block currently support is the option to display posts based on category, tag and author.

It would be great if these blocks could be extended to display posts based on publication dates such as a publication year.

Why

Currently, the only real options for reviewing posts by publication date are to manipulate date-based post permalinks to manually create a link to display this view, or click through to posts from the Calendar Block. This isn't particular convenient.

How

Extend the post filter options in the Blog Posts Block or the Query Loop Block to include a field to select a publication date option (perhaps a year, or year + month), here:

Screen Shot 2022-04-12 at 12 33 42

@zdenys
Copy link
Contributor

zdenys commented Apr 12, 2022

It seems that the parameters (arguments from REST API) that would allow that functionality are before and after listed in this report:

They haven't been implemented. Commenting on the above core issue would help to raise awareness I hope.

@zdenys zdenys added the [Status] Core Fix Needed A fix within the Core WordPress or Gutenberg project is required to resolve this issue. label Apr 12, 2022
@kerrynicl kerrynicl added the Triaged To be used when issues have been triaged. label Apr 13, 2022
@mrfoxtalbot mrfoxtalbot moved this to To triage in Dotcom Core Fix Needed Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Blog Posts [Block] Query Loop [Status] Core Fix Needed A fix within the Core WordPress or Gutenberg project is required to resolve this issue. Triaged To be used when issues have been triaged. [Type] Feature Request Feature requests
Projects
None yet
Development

No branches or pull requests

3 participants