30 May 2011

How to remove RSS feed from head tag in your template.

Source code viewer
  1. # Insert this into your themes functions.php file
  2.  
  3. # Removes RSS tags from extra content
  4. remove_action( 'wp_head', 'feed_links_extra', 3 );
  5. # Removes RSS tags from posts and comments
  6. remove_action( 'wp_head', 'feed_links', 2 );
Programming Language: PHP