How to remove links from Thumbnails and Titles in Feedzy

This guide will teach you how to remove the links from the feed item's thumbnail and title, without removing these actual elements.

At this moment, Feedzy RSS Feeds can display feeds from a feed URL in 2 ways:

  • Using shortcode for the old classic editor
  • Or using Feedzy's dedicated block in the new WordPress Editor

How to display feeds using the old classic editor using a feed URL from bbc news:

How to display feeds using Feedzy's dedicated block in the new WordPress Editor:

After you've managed to display the feeds using either one of the two methods presented above, you need to install a new plugin called Header and Footer Scripts where we will be adding the code needed to remove the links I mentioned about before.

After installing and activating this plugin, you will need to navigate to the page where you are displaying the feeds using Feedzy. In my case, this page is called Feeds. You can scroll down the page and you should be able to see a new section added by the Header and Footer Scripts plugin which basically looks like a place where you can add text:

Please go to that text field at the bottom of the page (see the picture above) and add the following code:

<script type="text/javascript">
window.addEventListener('DOMContentLoaded', (event) => {
var linkToBeRemoved = document.querySelectorAll('.rss_image a');
for (var i = 0; i < linkToBeRemoved.length; i += 1) {
    if (linkToBeRemoved[i].firstElementChild.tagName == 'SPAN') {
        linkToBeRemoved[i].parentNode.insertBefore(linkToBeRemoved[i].firstElementChild, linkToBeRemoved[i]);
var aToBeRemoved = document.querySelectorAll('li.rss_item span.title a');
for (var j = 0; j < aToBeRemoved.length; j += 1) {
    document.querySelectorAll('li.rss_item span.title')[j].innerHTML = aToBeRemoved[j].textContent;

If you followed all the steps correctly, you should be able to see something like:

If you have reached this step, you can go ahead and Publish / Update the changes and check the page to see if the links from the thumbnails and titles are gone. That's all!

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us