• I’m working on a new site and pulling in some content from my other sites via RSS. I’ve configured the sites with the originating feeds to add a thumbnail to the feed by adding a filter to the child theme functions.php file. However I’d like to get the RSS widget block on my new site to display those thumbnails when it pulls the feed items, and to change the link target to open links in a new tab. Is there a way I can do this with a hook or filter that doesn’t involve using a different RSS aggregator plugin? An example feed can be found at theblindmansworkshop.com/category/projects/feed. Any help greatly appreciated!

Viewing 1 replies (of 1 total)
  • Are you using a block-based theme? It is not possible to display thumbnails or to change links in the default RSS block. To do that, you would either need to create your own block using JavaScrip. This would involve fetching the RSS feed data manually, parsing it, and displaying it in the way that you want.

    If you are using a non-block-based theme, you could use 'the_content_feed' and 'the_excerpt_rss' filters to achieve your goals.

Viewing 1 replies (of 1 total)
  • The topic ‘Show thumbnails in feeds using the RSS widget block’ is closed to new replies.