Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Feed: make active only general feed WordPress

Hi, i'd like to have only general feed ( with its title visible as in the screenshot.
I've tried with this code:

function remove_comments_rss( $for_comments ) {

return '';



//Disable comment rss feeds for pages in wordpress

remove_action('wp_head', 'feed_links', 2);

//remove_action('wp_head', 'feed_links_extra', 3);

Now i have only general feed but without Feed title.

How can I fix it?


Answers (1)


Navjot Singh answers:

Instead of

remove_action('wp_head', 'feed_links', 2);
//remove_action('wp_head', 'feed_links_extra', 3);


//remove_action('wp_head', 'feed_links', 2);
remove_action('wp_head', 'feed_links_extra', 3);

You had to remove extra feed links not the main ones I suppose?

maryhellen comments:

If i remove comment i get "subscribe to this page" ( in the screenshot is in
italian language) inactive as in the screenshot.