WP Comment Policy Checkbox

Description

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 custom link to the privacy policy page opening in new tab.
  • Optionally, you can display a customized text before the checkbox.
  • 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.

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.

Contributing

  • Active development of this plugin is handled on GitLab
  • Translation of the plugin into different languages is on the translation page.

Donation

If you enjoy using this plugin and find it useful, please consider making a donation:

Screenshots

  • 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.
  • Error message if the policy checkbox is not checked.

Installation

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 and click Activate.
4. Administrators can set the plugin options and configuration in ‘Settings/Comments’ menu in WordPress dashboard.

FAQ

Installation Instructions

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 and click Activate.
4. Administrators can set the plugin options and configuration in ‘Settings/Comments’ menu in WordPress dashboard.

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.

Reviews

Simple et efficace

Ce plugin fait exactement ce qu’il dit, il ajoute une case à cocher obligatoire avec un lien vers la politique de confidentialité du site.

Il reste à finaliser la traduction en Français

Más simple no puede ser

Francamente bueno, objetivo y práctico, hace que no seamos tan vulnerables a la nueva RGPD frente a los comentarios de los blogs!

Un imprescindible si WordPress no se pone las pilas.

Muy simple de utilizar 😉

Es un plugin de lo más sencillo de utilizar. Se instala y desde Ajustes > Comentarios seleccionas tu página de política de privacidad. Con eso solo ya tienes tu check configurado en los bloques de comentarios de los posts.

Read all 7 reviews

Contributors & Developers

“WP Comment Policy Checkbox” is open source software. The following people have contributed to this plugin.

Contributors

“WP Comment Policy Checkbox” has been translated into 5 locales. Thank you to the translators for their contributions.

Translate “WP Comment Policy Checkbox” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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.