• Resolved luisinho77

    (@luisinho77)


    Hi, I have a custom page on my site (header and footer too) and it doesn’t load the Cookie banner (cc-window) but the scripts of Tag Manager is changed by Complianz adding class=”cmplz-script cmplz-stats” and the cookies are bloqued (even accepting previuslly all cookie in other page).

    How can I laungh propertly Complianz on this page?

    Best Regards

    • This topic was modified 3 years, 9 months ago by luisinho77.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @luisinho77,

    Could we have a look at the page in question?

    Is jQuery enqueued, or are there any jQuery errors?

    regards Aert

    Thread Starter luisinho77

    (@luisinho77)

    Hi Aert, there it’s not errors on console and jQuery 3.5.1 is loaded, I’ve desactivated Autooptimize too… sorry but I can’t to public the URL… maybe on private message… Obviously, the anothers comments and the solution could be public

    Thanks in advance, Luis.

    Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @luisinho77,

    You can contact us via complianz.io/support. Skip the license check.

    regards Aert

    Thread Starter luisinho77

    (@luisinho77)

    Thanks!!! I’ve just send it now.

    Thread Starter luisinho77

    (@luisinho77)

    Thanks Aert for your help!! You are right.

    On my customized …headers.tpl.php and …footers.tpl.php I hadn’t wp_header(); and wp_footer(); but then add it, severals errors appears on console and somethings styles are overridden.

    How can I only load requeriments for the plugin Complianz instead of the wp_head() and wp_footer()?? Because those custom pages were programmed by someone else and I don’t know the scope of adding wp_header(); and wp_footer();

    Regards, Luis.

    • This reply was modified 3 years, 9 months ago by luisinho77.
    Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @luisinho77,

    This explains it very well with an example; https://developer.www.ads-software.com/reference/functions/wp_head/

    It might be this hook will insert other scripts and CSS as well, which might change the styling. However, this hook is used by themes and plugins to add functionality and should be a default for any custom template that’s trying to integrate with WordPress.

    regards Aert

    Plugin Contributor Mathieu Paapst

    (@paapst)

    Hi @luisinho77 I hope that your issue is resolved! Could you tell us what you think of the plugin or the support by casting your Review here? We’d love to hear your feedback!

    Thread Starter luisinho77

    (@luisinho77)

    Hi Mathieu, it was resolved to copying the code generated in another page of my site, but the best way should be calling to method to generate this code dynamically…

    ?How can I do it?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Launch complianz on template’ is closed to new replies.