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

[Block Library - Post Terms]: Add dynamic variations of feeds #65351

Open
carstingaxion opened this issue Sep 14, 2024 · 3 comments
Open

[Block Library - Post Terms]: Add dynamic variations of feeds #65351

carstingaxion opened this issue Sep 14, 2024 · 3 comments
Labels
[Block] Post Terms Affects the Post Terms Block [Type] Enhancement A suggestion for improvement.

Comments

@carstingaxion
Copy link
Contributor

carstingaxion commented Sep 14, 2024

What problem does this address?

I did not find a blocky way to get a list of all feeds a reader may want to subscribe to, for a given post. I was looking for a block equivalent to get_term_link().

Once again: for GatherPress, I created a block variation of the post-terms block that seemed so simple and general, that I thought it might be better to ask, if we don’t want to support that from core.

What is your proposed solution?

I’d like to take #39837 one step further and register another set of core/post-terms variations which will be populated with the feed urls of the selected terms.

While the block should use ‚rss‘ as its default feed type, a radio control could be pre-populated with the registered feed types to let an editor choose from.

In my GatherPress use-case, I wanted to use such a block to show the subscribe-able iCal endpoints.

Bildschirmfoto vom 2024-09-14 23-29-23

Because I did this already for GatherPress, I can easily share some code or even create a PR.

@carstingaxion carstingaxion added the [Type] Enhancement A suggestion for improvement. label Sep 14, 2024
@carstingaxion
Copy link
Contributor Author

Friendly ping asking for your opinions: @paaljoachim, @ntsekouras and @jeherve

@paaljoachim
Copy link
Contributor

I went ahead and posted in the PR: #39837
So that people there would get information about this issue.

@carstingaxion
Copy link
Contributor Author

Cool, thank you @paaljoachim !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Post Terms Affects the Post Terms Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants