Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/injms/iubenda-for-wp
WordPress plugin to allow non-JavaScript use of Iubenda's policy API
https://github.com/injms/iubenda-for-wp
Last synced: 23 days ago
JSON representation
WordPress plugin to allow non-JavaScript use of Iubenda's policy API
- Host: GitHub
- URL: https://github.com/injms/iubenda-for-wp
- Owner: injms
- License: gpl-3.0
- Created: 2015-02-08T13:50:48.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-02-25T20:38:58.000Z (over 4 years ago)
- Last Synced: 2024-10-05T06:41:56.538Z (about 1 month ago)
- Language: PHP
- Size: 168 KB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
Iubenda for WordPress
=====================(A work in progress)
[iubenda](https://www.iubenda.com/) is a easy to use privacy and cookie policy service. This is a plugin which lets you use their non-JavaScript API to embed your privacy policy into your WordPress website.
**Important** - you will need to use iubenda's [paid Pro service](https://www.iubenda.com/en/pricing) to use this plugin; otherwise this plugin will default to the JavaScript embedding method.
The plugin requests the policy using Iubenda's API, then caches the policy for 24 hours to make things speedier. The policy is then displayed whereever the tag is placed in the theme.
If the policy isn't a pro version, then the fallback is Iubenda's JavaScript embed.
To use
------
Simply add the following to where you want the policy to appear:``
- first variable is the policy ID
- the second is true / false for whether a table of contents is generated with some jQuery
- the third is what colour the fallback JavaScript button should be - black, white, or nostyle. (Note the nostyle needs a pro account.)To do
-----* Options in WordPress's admin area to set cache timings, table of contents, and which fallback button style should be used
* Add ability to choose which page the policy appears on, rather than needing to use a tagDisclaimer
----------
And, of course, this plugin is in no way affiliated or endorsed by Iubenda, WordPress, or Automattic.