Removed automatic RSS links
This commit is contained in:
parent
c621f07095
commit
d46c7b7340
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
add_theme_support( 'post-thumbnails' );
|
||||
add_theme_support( 'automatic-feed-links' );
|
||||
add_theme_support( 'post-formats', array( 'post' ) );
|
||||
add_theme_support( 'custom-header' );
|
||||
add_theme_support( 'custom-background' );
|
||||
|
@ -15,10 +14,5 @@ remove_action( 'wp_head', 'index_rel_link' );
|
|||
remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head' );
|
||||
remove_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 );
|
||||
|
||||
function remove_comments_rss( $for_comments ) {
|
||||
return;
|
||||
}
|
||||
add_filter( 'post_comments_feed_link', 'remove_comments_rss' );
|
||||
|
||||
if ( function_exists( 'register_sidebar' ) )
|
||||
register_sidebar();
|
Loading…
Reference in New Issue