Title: WP Comment Policy Checkbox
Author: fcojgodoy
Published: <strong>3 Tháng 2, 2018</strong>
Last modified: 6 Tháng 7, 2024

---

Tìm kiếm plugin

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://ps.w.org/wp-comment-policy-checkbox/assets/icon.svg?rev=1942366)

# WP Comment Policy Checkbox

 Bởi [fcojgodoy](https://profiles.wordpress.org/fcojgodoy/)

[Tải về](https://downloads.wordpress.org/plugin/wp-comment-policy-checkbox.zip)

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

 [Hỗ trợ](https://wordpress.org/support/plugin/wp-comment-policy-checkbox/)

## Mô tả

Add a checkbox to the comment forms so that the user can give consent to the web’s
privacy policy. And save this consent in the database.

#### Features

 * Add a required privacy policy checkbox to the default WordPress comment forms,
   with a link to you privacy policy page.
 * Allow display a customized text before the checkbox.
 * Allow an external link as a page of the privacy policy.
 * Allow open privacy policy link in the same tab or in a new one.
 * Allow HTML link types attribute in the policy page link, for SEO reasons (nofollow,
   external…).
 * The consent is stored in the database, in `wp_commentmeta` table with the metakey`
   wpcpc_private_policy_accepted`, and the commentator’s email as value.
 * The consent is exported by WordPress’s Export Personal Data function.
 * The consent is erased by WordPress’s Erase Personal Data function.
 * Compatible with UnderStrap and themes that set is own fields on comment form.
 * Compatible with Webmention (thank to @danielp6).

#### Use

You can configure the plugin in the Discussion Settings on your WordPress administration.

#### Theme compatibility

The plugin only works if the theme uses the native WordPress function for comment
forms.
 Also, the plugin creates a concrete HTML structure to print the checkbox.
Not in all theme will be displayed correctly. In that case, you could use the ‘Additional
CSS’ box in the Customize of your theme.

#### Contributing

 * Active development of this plugin is handled on [GitLab](https://gitlab.com/fcojgodoy/wp-comment-policy-checkbox)
 * Translation of the plugin into different languages is on [the translation page](https://translate.wordpress.org/projects/wp-plugins/wp-comment-policy-checkbox).

#### Donation

If you enjoy using this plugin and find it useful, please consider making a donation
in [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=C7M43R6RDXRBG).

Thank you!

## Ảnh màn hình

[⌊Setting fields on comments setting page.⌉⌊Setting fields on comments setting page
.⌉[

Setting fields on comments setting page.

[⌊Basic policy information, policy checkbox and link printed on the bottom of the
comment form, before the submit button.⌉⌊Basic policy information, policy checkbox
and link printed on the bottom of the comment form, before the submit button.⌉[

Basic policy information, policy checkbox and link printed on the bottom of the 
comment form, before the submit button.

[⌊Error message if the policy checkbox is not checked.⌉⌊Error message if the policy
checkbox is not checked.⌉[

Error message if the policy checkbox is not checked.

## Cài đặt

Use the installer via back-end of your install or: 1. Unpack the download-package.
2. Upload the files to the /wp-content/plugins/ directory. 3. Activate the plugin
through the Plugins menu in WordPress.

## Hỏi đáp

### I installed the plugin correctly, put in the text & set the privacy policy page, but the checkbox & text does not appear below the comment box

The plugin only works if the theme uses the native WordPress function for comment
forms. Your theme is probably not compatible with this plugin.

## Đánh giá

![](https://secure.gravatar.com/avatar/e18988a67161301bb29d391abc41e07d0eafa0ecba1ea19d7c76752af1896f63?
s=60&d=retro&r=g)

### 󠀁[Better than native solutions from wordpress](https://wordpress.org/support/topic/better-than-native-solutions-from-wordpress/)󠁿

 [winterfjell](https://profiles.wordpress.org/winterfjell/) 20 Tháng 8, 2023

I like it more than the wordpress solution with cookie consent, because the consent
is stored in the database. It works as long you use the native WordPress comment
form. You just have to add the link to your privacy policy page. If you want more,
you find the plugin settings is available under Settings -> Discussion. Using this
plugin since years now and I am absolutely satisfied. Thank you.

![](https://secure.gravatar.com/avatar/4bf5d1ca71e16ce7e94a464d6483df26570f6a305774983fc7b1ab42e6adc46f?
s=60&d=retro&r=g)

### 󠀁[Sencillo y efectivo](https://wordpress.org/support/topic/sencillo-y-efectivo-12/)󠁿

 [Alvaro Canteiro](https://profiles.wordpress.org/lordman/) 11 Tháng 12, 2022

Sencillo de configurar, muy útil y efectivo. Excelente y recomendable.

![](https://secure.gravatar.com/avatar/cb4d7943fe940d4eeedbdb07adb1dc549f4de6d6cbf7b546e0f9c1582ea71e44?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work for Reviews in WooCommerce 5](https://wordpress.org/support/topic/doesnt-work-for-reviews-in-woocommerce-5/)󠁿

 [Martin Braun](https://profiles.wordpress.org/martinbraun/) 24 Tháng 1, 2022 2 
trả lời

/removed

![](https://secure.gravatar.com/avatar/93c598dac716e30bbb3f8b39b2aede589b622dcf04fadcba5b10a5235d041be5?
s=60&d=retro&r=g)

### 󠀁[Great Lightweight Consent Plugin for WordPress Comment](https://wordpress.org/support/topic/great-lightweight-consent-plugin-for-wordpress-comment/)󠁿

 [jamestanjames](https://profiles.wordpress.org/jamestanjames/) 6 Tháng 1, 2022

It works for native Wordpress comment form. Once installed it is ready to use (just
need to link your privacy policy page but it works without the page). Just in case,
this plugin settings is available under Settings > Discussion.

![](https://secure.gravatar.com/avatar/83dda8bb744d526406dbc9f2f10b4057793838b5481ff329189cd9c9d585b8ab?
s=60&d=retro&r=g)

### 󠀁[Necesario para el RGPD](https://wordpress.org/support/topic/necesario-para-el-rgpd/)󠁿

 [neoset](https://profiles.wordpress.org/neoset/) 5 Tháng 7, 2020

Gracias por el plugin, espero que siga siempre activo.

![](https://secure.gravatar.com/avatar/6078869f6ee2de8469d2ef2e7306c6d7779e8f1fa80b440b16793a04a486e18b?
s=60&d=retro&r=g)

### 󠀁[Uno de esos plugins que hay que tener apuntado](https://wordpress.org/support/topic/uno-de-esos-plugins-que-hay-que-tener-apuntado/)󠁿

 [rearjm](https://profiles.wordpress.org/rearjm/) 29 Tháng 8, 2019 1 trả lời

Este plugin es genial. Cumple con su funcionalidad al 100%. Super-útil para cumplir
la RGPD en los comentarios. Y además php-spanish ¡Olé!

 [ Đọc tất cả 14 đánh giá ](https://wordpress.org/support/plugin/wp-comment-policy-checkbox/reviews/)

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

“WP Comment Policy Checkbox” 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

 *   [ fcojgodoy ](https://profiles.wordpress.org/fcojgodoy/)

“WP Comment Policy Checkbox” đã được dịch qua 13 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/wp-comment-policy-checkbox/contributors)
vì đóng góp của họ.

[Dịch “WP Comment Policy Checkbox” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/wp-comment-policy-checkbox)

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

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

## Nhật ký thay đổi

#### 0.4.1

 * Fix error when a logged in user try to create a comment. [Issue #44](https://gitlab.com/fcojgodoy/wp-comment-policy-checkbox/-/issues/44)

#### 0.4.0

 * [New Feature] Allow open privacy policy link in the same tab.
 * Added compatibility with UnderStrap and themes that set is own fields on comment
   form.
 * Added support for Webmention comments (thank to @danielp6).
 * Added settings link in the Plugins list table.

#### 0.3.2

 * [New Feature] Link types attribute for policy page link.
 * Fix ‘warning’ literal namespace

#### 0.3.1

 * [New Feature] Allowed an external link as a page of the privacy policy.
 * Improved the translatability of the text string of the privacy policy notice.
 * Fixed HTML markup error.
 * Changed ‘error’ to ‘warning’ in the unchecked checkbox warning message.

#### 0.3.0

 * [New Feature] Store, export and erase the commentator’s consent.

#### 0.2.5

 * Fix grammar mistake
 * Margin right on input
 * Fix attribute _blank error

#### 0.2.4

 * Fix translatable text

#### 0.2.3

 * Update pot translate file

#### 0.2.2

 * Improve gettext strings

#### 0.2.1

 * Improve gettext strings
 * Small font for policy basic info

#### 0.2.0

 * Improve code
 * Add id for accessibility to checkbox input
 * Force checkbox appearance
 * NEW! Optionally, you can display a customized text before the checkbox.

#### 0.1.7

 * Add ‘GDPR’ tag to plugin.
 * Fix readme errors.

#### 0.1.6

 * Fix error occurred when user is logged in.

#### 0.1.5

 * Change languages file names.

#### 0.1.4

 * Fix file names.

#### 0.1.3

 * Fix Internationalization.

#### 0.1.2

 * Fix generic define names.

#### 0.1.1

 * Modified main file Description on head comment.

#### 0.1

 * First version, still in beta.

## Meta

 *  Phiên bản **0.4.1**
 *  Cập nhật lần cuối **2 năm trước**
 *  Số lượt cài đặt **5.000+**
 *  Phiên bản WordPress ** 3.0.2 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.5.14**
 *  Phiên bản PHP ** 5.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [Catalan](https://ca.wordpress.org/plugins/wp-comment-policy-checkbox/), [Czech](https://cs.wordpress.org/plugins/wp-comment-policy-checkbox/),
   [Dutch](https://nl.wordpress.org/plugins/wp-comment-policy-checkbox/), [English (US)](https://wordpress.org/plugins/wp-comment-policy-checkbox/),
   [French (France)](https://fr.wordpress.org/plugins/wp-comment-policy-checkbox/),
   [German](https://de.wordpress.org/plugins/wp-comment-policy-checkbox/), [German (Switzerland)](https://de-ch.wordpress.org/plugins/wp-comment-policy-checkbox/),
   [Greek](https://el.wordpress.org/plugins/wp-comment-policy-checkbox/), [Hungarian](https://hu.wordpress.org/plugins/wp-comment-policy-checkbox/),
   [Korean](https://ko.wordpress.org/plugins/wp-comment-policy-checkbox/), [Russian](https://ru.wordpress.org/plugins/wp-comment-policy-checkbox/),
   [Slovak](https://sk.wordpress.org/plugins/wp-comment-policy-checkbox/), [Spanish (Chile)](https://cl.wordpress.org/plugins/wp-comment-policy-checkbox/),
   và [Spanish (Spain)](https://es.wordpress.org/plugins/wp-comment-policy-checkbox/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/wp-comment-policy-checkbox)
 * Thẻ
 * [checkbox](https://vi.wordpress.org/plugins/tags/checkbox/)[comments](https://vi.wordpress.org/plugins/tags/comments/)
   [GDPR](https://vi.wordpress.org/plugins/tags/gdpr/)[Privacy Policy](https://vi.wordpress.org/plugins/tags/privacy-policy/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/wp-comment-policy-checkbox/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  14 5-star reviews     ](https://wordpress.org/support/plugin/wp-comment-policy-checkbox/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-comment-policy-checkbox/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-comment-policy-checkbox/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-comment-policy-checkbox/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-comment-policy-checkbox/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-comment-policy-checkbox/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/wp-comment-policy-checkbox/reviews/)

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

 *   [ fcojgodoy ](https://profiles.wordpress.org/fcojgodoy/)

## Hỗ trợ

Các lỗi đã xử lý trong vòng hai tháng gần đây:

     0 trên 1

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/wp-comment-policy-checkbox/)

## Ủ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 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=C7M43R6RDXRBG)