이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Hide Comments Feature

설명

For those who do not need to have the Comments feature in WordPress (there are a lot of reasons), this plugin removes any trace of that existence in both wp-admin and front-end.
Your theme must rely properly on the WordPress API for the front-end support. The tag must be present.
Completely done through techniques based on both action hooks and CSS.

Doesn’t requires any configuration, just install and any trace of Comments will disappear.

NOTE: This does NOT play with the core, so you are able to update both plugins and WordPress without any trouble.

Provided Custom Hooks

This plugin provides 4 custom hooks you may play if you need more substance in your theme.

add_action( 'hide_comments_post_types', 'my_hide_comments_post_types' ); to change the list of post types to be processed by the plugin. Comments will be removed from all listed post types.
add_action( 'hide_comments_css', 'my_hide_comments_css' ); to add arbitrary CSS to hide comment's stuff from your theme.
add_action( 'hide_comments_template_comments_path', 'my_hide_comments_template_comments_path' ); the default path is the empty file template-comments.php located in the same dir of this plugin. Just modify the path to your own file if you want to return anything else.
add_action( 'hide_comments_dashboard_right_now', 'my_hide_comments_dashboard_right_now' ); if true is returned, the discussion table of dashboard right now widget will be hidden. False otherwise. Defaults to true.

The use of these hooks are recommended, thus, if the plugin gets deactivated, those hooks will not be called anymore and then you get things consistent and clean.

Do you want to translate it to your language? Just reply to the «Translations» topic in the forum.

스크린샷

  • There is no Comments menu link!
  • The comments template disappeared (magically) from the Twenty Twelve theme.

설치

  1. Upload hide-comments-feature folder to the /wp-content/plugins/ directory
  2. 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.
  3. No more configuration required.

FAQ

Installation Instructions
  1. Upload hide-comments-feature folder to the /wp-content/plugins/ directory
  2. 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.
  3. No more configuration required.
Will this affect my WordPress Instalation?

No. This won’t play with the core! In other words, the feature still exists there but it is hidden by the plugin.

And about my theme? Comments still there…

That’s because your theme either is too old or it doesn’t rely on the newest WordPress API. So you have to upgrade it, find a new one or, play with CSS to hide some HTML parts of the theme.
Example of code to go into functions.php:

/* Your CSS here */

Though, the main purpose of this plugin is to help web designers and developers creating WordPress sites they can ensure that their users will no longer see mentioned the word “Comment”.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Hide Comments Feature”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Hide Comments Feature”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

0.4

  • Huge update! Everything is now handled consistently. It is expected to be 3.4 and 3.5 compatible.
  • Optimal support for the new Twenty Twelve theme.
  • Added 4 custom action hooks (see )
  • Added translation for Portuguese

0.2

  • Bugfix: comment icon in menu shouldn’t appear in instances prior than 3.0.3

0.1

  • Initial Release
  • Good support from FF3/4 and IE7