I’ve just read On Reshaping: Tooling WordPress with nothing other than it’s URLs – CogDogBlog

Alan covers many of the interesting url patterns that can produce sets of posts in WordPress. I knew of some, but there are several gems I’d not discovered. Combining dates and taxonomies for example. RSS Feeds for all of these and finally RSS feeds for searches.

Many of these could all be used as links on your site in the same ways as a simple category can be added to a menu. It reminds me of one of my favourite plugins Display Posts which lists posts filtered in every which way. 

The RSS ones might be used to show a dynamic set of links from a different WordPress site. For example Alan mentions HyperCard in his post, by using the url for the RSS feed for a search on his site for HyperCard I can use the RSS block to show search results for HyperCard on Alan’s site:

I don’t usually use the block editor on this site. To insert the RSS block I switched to the block editor, inserted the block and switched back.

This is a bit kludgy but apart from some bother with paragraphs it seems to work.  Once you have added the block and switch back to the classic editor the block is invisible in the Visual view but you see:

<!-- wp:rss {"feedURL":"https://cogdogblog.com/?s=Hypercard\u0026feed=rss2"} /--> in the text editor. You could just save the snippet, and change the url for later use. (Or just use the block editor it seems to be the future).

See also Hidden in the Code – Read Write Respond found via a search for a possilbe featured image

One thought on “WordPress URLs, RSS & Blocks

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.