You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Block Library - Post Terms]: Add dynamic variations of feeds #65351
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.
Because I did this already for GatherPress, I can easily share some code or even create a PR.
Thanks for the idea and for sharing how you built it for GatherPress, and sorry it sat so long.
I tested this on trunk: a post in a "Concerts" category with a Post Terms block (Categories). Each term links to its archive page, not its feed:
I'm closing this as not planned. Links to a term's feed (RSS, Atom, or a custom feed like iCal) serve a small group of sites, and they can be built today as a plugin with standard APIs. A small dynamic block made with register_block_type() that calls get_term_feed_link() for each of the post's terms gives the feed links, and its feed type argument can point to other registered feeds:
Since this issue was opened, no maintainer has picked it up, and I found no other issue asking for it. GatherPress has since shipped its own subscribe links (GatherPress/gatherpress#1686), and a plugin like that can be shared in the Block Directory. If more people need this in core, we can reopen.
Activity
carstingaxion commentedon Sep 14, 2024
Friendly ping asking for your opinions: @paaljoachim, @ntsekouras and @jeherve
paaljoachim commentedon Sep 24, 2024
I went ahead and posted in the PR: #39837
So that people there would get information about this issue.
carstingaxion commentedon Sep 24, 2024
Cool, thank you @paaljoachim !
ellatrix commentedon Nov 12, 2026
Thanks for the idea and for sharing how you built it for GatherPress, and sorry it sat so long.
I tested this on trunk: a post in a "Concerts" category with a Post Terms block (Categories). Each term links to its archive page, not its feed:
I'm closing this as not planned. Links to a term's feed (RSS, Atom, or a custom feed like iCal) serve a small group of sites, and they can be built today as a plugin with standard APIs. A small dynamic block made with
register_block_type()that callsget_term_feed_link()for each of the post's terms gives the feed links, and its feed type argument can point to other registered feeds:Since this issue was opened, no maintainer has picked it up, and I found no other issue asking for it. GatherPress has since shipped its own subscribe links (GatherPress/gatherpress#1686), and a plugin like that can be shared in the Block Directory. If more people need this in core, we can reopen.
Partly automated with help from Claude.