asmbs/wp-cookie-notice

This package is abandoned and no longer maintained. No replacement package was suggested.

Adds a cookie notice to a Wordpress site

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 0

Type:wordpress-plugin

v0.0.7 2019-03-29 17:49 UTC

This package is auto-updated.

Last update: 2022-02-01 13:13:23 UTC


README

WP Cookie Notice

This is a Wordpress plugin that adds a cookie notice. The notice is shown on every page until the user clicks the "Accept" button. This plugin uses implicit consent, meaning that it does not prevent any use of cookies before the user accepts. The notice message and the color scheme can be changed in the settings page, and further customization can be accomplished in your theme with the use of the wpcn classes.

Installation

Requirements

Note that this plugin has only been tested on Bedrock-based Wordpress installations running Wordpress v4.9.6.

Tips

  • If you're using a Composer-based Wordpress project, simply run the following command in the project root: composer require asmbs/wp-cookie-notice
  • If you're using a traditional Wordpress project, simply copy these files to a folder named wp-cookie-notice in your project's plugins folder.
  • By default, this plugin uses a canned message and a gray color scheme. To change this, go to your Wordpress administrator dashboard, click "Settings" in the sidebar menu, and then click the "Cookie Notice" menu item that appears.

Development

Requirements

Note that this plugin has only been tested on Bedrock-based Wordpress installations running Wordpress v4.9.6 and NPM v6.0.1.

Getting Started

  1. Run npm install from the plugin's root directory. This installs the development dependencies.
  2. When you make changes, run npm run-script build to build the assets once, or run npm run-script start to keep a watcher going.