| 1 |
# How to manage the addon in admin ui |
| 2 |
|
| 3 |
Every addon can be configured in the admin ui. |
| 4 |
|
| 5 |
This document contains explainations of the configurable options. |
| 6 |
|
| 7 |
# Tabs |
| 8 |
|
| 9 |
Cookiebot Addons settings page has 3 tabs: |
| 10 |
- [](#available-pluginsAvailable plugins](#available-plugins](#available-plugins) |
| 11 |
- [](#unavailable-pluginsUnavailable plugins](#unavailable-plugins](#unavailable-plugins) |
| 12 |
- [](#jetpackJetpack](#jetpack](#jetpack) |
| 13 |
|
| 14 |
# Available plugins |
| 15 |
|
| 16 |
In this screenshot you see the plugins that are installed and activated. |
| 17 |
|
| 18 |
![available plugins][available-plugin] |
| 19 |
|
| 20 |
In this section you manage the available plugins for cookiebot. |
| 21 |
|
| 22 |
Example settings: |
| 23 |
- disable addon |
| 24 |
- Select required cookie types |
| 25 |
- Add placeholder text in multi languages |
| 26 |
|
| 27 |
In order to create unique placeholder experience, we have added few merge tags you can use in the placeholder text: |
| 28 |
- ```%cookie_types``` |
| 29 |
Displays required cookie types to enable the addon. |
| 30 |
|
| 31 |
- ```%src``` |
| 32 |
src url for youtube, facebook, vimeo and twitter videos. Currently it only works for Embed addon. |
| 33 |
|
| 34 |
- ```[renew_consent]``` and ```[/renew_consent]``` |
| 35 |
Both tag will be replaced by a link element with a href to the cookiebot settings box, so the visitor can enable or disable the cookie types. |
| 36 |
|
| 37 |
|
| 38 |
On top of that, there are also few filters to manipulate the placeholders: |
| 39 |
|
| 40 |
#### Youtube, Vimeo and Facebook |
| 41 |
|
| 42 |
- ```add_filter('cybot_cookiebot_addons_embed_source', $source)``` |
| 43 |
|
| 44 |
This filter is used to manipulate the source attribute for embedded video |
| 45 |
|
| 46 |
- ```add_filter('cybot_cookiebot_addons_embed_placeholder', $content, $source, $cookie_types)``` |
| 47 |
|
| 48 |
This filter is used to manipulate the placeholder output |
| 49 |
|
| 50 |
|
| 51 |
# Unavailable plugins |
| 52 |
|
| 53 |
In this screenshot you see the plugins which are not activated or installed. |
| 54 |
|
| 55 |
![unavailable plugins][unavailable-plugin] |
| 56 |
|
| 57 |
# Jetpack |
| 58 |
|
| 59 |
Jetpack has one more tab to configure the widgets. |
| 60 |
|
| 61 |
![jetpack][jetpack] |
| 62 |
|
| 63 |
[available-plugin]: assets/available-plugins.png |
| 64 |
[unavailable-plugin]: assets/unavailable-plugins.png |
| 65 |
[jetpack]: assets/jetpack.png |
| 66 |
|