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 (http://www.progettobenesserecompleto.it/feed/) with its title visible as in the screenshot.
I've tried with this code:

function remove_comments_rss( $for_comments ) {

return '';

}

add_filter('post_comments_feed_link_html','remove_comments_rss');

//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?

Thanks

Answers (1)

2012-08-24

Navjot Singh answers:

Instead of

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


try

//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.