Title: Hide Comments Feature
Author: Vitor Carvalho
Published: <strong>29 Tháng 11, 2010</strong>
Last modified: 24 Tháng 10, 2012

---

Tìm kiếm plugin

![](https://ps.w.org/hide-comments-feature/assets/banner-772x250.png?rev=610336)

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/hide-comments-feature_ffffff.svg)

# Hide Comments Feature

 Bởi [Vitor Carvalho](https://profiles.wordpress.org/lightningspirit/)

[Tải về](https://downloads.wordpress.org/plugin/hide-comments-feature.0.4.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/hide-comments-feature/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/hide-comments-feature/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/hide-comments-feature/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/hide-comments-feature/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/hide-comments-feature/)

## Mô tả

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.

## Ảnh màn hình

[⌊There is no Comments menu link!⌉⌊There is no Comments menu link!⌉[

There is no Comments menu link!

[⌊The comments template disappeared (magically) from the Twenty Twelve theme.⌉⌊The
comments template disappeared (magically) from the Twenty Twelve theme.⌉[

The comments template disappeared (magically) from the Twenty Twelve theme.

## Cài đặt

 1. Upload `hide-comments-feature` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. No more configuration required.

## Hỏi đáp

  Installation Instructions

 1. Upload `hide-comments-feature` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 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”.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Hide Comments Feature” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Vitor Carvalho ](https://profiles.wordpress.org/lightningspirit/)

[Dịch “Hide Comments Feature” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/hide-comments-feature)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/hide-comments-feature/),
check out [SVN repository](https://plugins.svn.wordpress.org/hide-comments-feature/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/hide-comments-feature/)
qua [RSS](https://plugins.trac.wordpress.org/log/hide-comments-feature/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 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

## Meta

 *  Phiên bản **0.4**
 *  Cập nhật lần cuối **9 năm trước**
 *  Số lượt cài đặt **1.000+**
 *  Phiên bản WordPress ** 3.4 hoặc cao hơn **
 *  Đã kiểm tra lên đến **3.5.2**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/hide-comments-feature/)
 * Thẻ
 * [comment](https://vi.wordpress.org/plugins/tags/comment/)[comments](https://vi.wordpress.org/plugins/tags/comments/)
   [hide](https://vi.wordpress.org/plugins/tags/hide/)[remove](https://vi.wordpress.org/plugins/tags/remove/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/hide-comments-feature/advanced/)

## Đánh giá

 4.5 trên 5 sao.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/hide-comments-feature/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/hide-comments-feature/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/hide-comments-feature/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/hide-comments-feature/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/hide-comments-feature/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/hide-comments-feature/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/hide-comments-feature/reviews/)

## Những người đóng góp

 *   [ Vitor Carvalho ](https://profiles.wordpress.org/lightningspirit/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/hide-comments-feature/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](http://vcarvalho.com/donate/)