My current theme displays a Subscribe to link that is output from the core/themes/stable/templates/misc/feed-icon.html.twig template. I don't want to display it in my theme. Whatever I try, I can't find which template or which string prints this link.

How can I avoid the link is printed?

  • Do you just want to remove the display of feed icon or remove the feed altogether?
    – Jeff Burnz
    Aug 21, 2016 at 4:31
  • Sweet, then chrisshattuck's answer is perfect.
    – Jeff Burnz
    Aug 21, 2016 at 6:56
  • MrD has provided that answer.
    – Jeff Burnz
    Aug 21, 2016 at 10:04

2 Answers 2


If this is a view, you can hide the feed icon using this method.

Go to Structure > Views > Frontpage > Edit. Then click on "Feed" at the top. In the second drop-down box, select "Disable Feed." Then "Save" the change.

  • That will disable the whole feed, which may not be the desired outcome (just remove the display of the icon).
    – Jeff Burnz
    Aug 21, 2016 at 5:03

You can use hook_preprocess with code:

function YOUR_THEME_preprocess_views_view(&$vars) {
  $vars['feed_icons'] = FALSE;

See views-view.html.twig for more detail.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.