You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The wiki describes a way of using the cookie notice via the Javascript API. This method, however, has the disadvantage that, for example, a menu item created via the WordPress backend cannot have the option of opening the notice, as no onclick attribute can be added.
I currently use the workaround of integrating a script into the "Always-On Scripts" option, which places a click event listener on all links of the "open-cookie-consent" class, which calls the function defined in the wiki.
The wiki describes a way of using the cookie notice via the Javascript API. This method, however, has the disadvantage that, for example, a menu item created via the WordPress backend cannot have the option of opening the notice, as no onclick attribute can be added.
I currently use the workaround of integrating a script into the "Always-On Scripts" option, which places a click event listener on all links of the "open-cookie-consent" class, which calls the function defined in the wiki.
Would it be possible to introduce such a class as standard in the plugin?
The text was updated successfully, but these errors were encountered: