This cookie banner can be added to WordPress websites with an official plugin. After installing the plugin website owners have to find out that the plugin clutters the WP dashboard by claiming yet another top-level menu position. This seems pretty unecessary for a plugin which requires settings only to be set once. I asked iubenda’s support to consider moving it to the “Settings” menu or elsewhere but this was declined with reference to “non-savvy WP users” who would have trouble finding the page.
Well, let’s just do it ourselves then – by adding the following code to your own little custom functionality plugin (or, less advised, to the functions.php of your child theme):
And that was that.