2011-02-24 2 views
1
난 =의 RSS2 및 공급 = 공급 나타납니다 헤더의 header.php

비활성화 코멘트 RSS

automatic_feed_links(); 

에 자동 디스플레이로 RSS를이 사용하고

지금 난 그냥 원하는 의견을-RSS2 내가 테마에서 주석을 사용하지 않기 때문에 comments-rss2을 비활성화하십시오.

remove_action('wp_head', 'feed_links', 2);을 사용하는 경우 머리에서 모두 제거됩니다.

단지 댓글을 삭제하고 싶습니다.-rss2 -
can is any reference to this this.

누구를 아십니까?

답변

-1

feed_links WP-포함/일반 template.php에 함수 포함 모두 피드 명령이 아닌 인자를 비활성화 할 수 에코. //이 줄을 주석 :

echo '<link rel="alternate" type="' . feed_content_type() . '" title="' . esc_attr(sprintf($args['comstitle'], get_bloginfo('name'), $args['separator'])) . '" href="' . get_feed_link('comments_' . get_default_feed()) . "\" />\n";

(wp3.1위한/일반 template.php 번호 1614을 WP는-포함)