Hi! I want to remove the Rss icon located on the lower side of my first page which I see is called the "node" page. On this forum I read some solutions but they are some sort complicated like programming stuff and such. It is ridiculous that a problem so simple can't be resolved in an easy manner. Can you give me some help please?

Comments

Jean-Philippe Fleury’s picture

With CSS, you can hide the feed div on the front page as this:

body.front div.div-feed-icons {display: none;}

In PHP, you can prevent construction of the feed div on the front page. Open the file page.tpl.php of your theme, find this line:

<?php print '<div class="div-feed-icons">'. $feed_icons .'</div>'; ?>

and replace it with:

<?php if (!$is_front): ?>
	<?php print '<div class="div-feed-icons">'. $feed_icons .'</div>'; ?>
<?php endif; ?>
Iulian81’s picture

ok thanks!

rpmskret’s picture

Thank you luron. I have just tried out the php answer and I am very happy with the success.
I viewed an issue post by dries a short while ago. He also is involved and aware of this poor situation regarding no control of RSS feed on front page.
Your answer is great for a quick practical interim solution.