How to have a fixed button in the footer instead
-
Hello,
I would like to have the consent button always visible only within my footer.
I tried : https://complianz.io/add-a-link-to-show-the-cookie-banner/
but adding the lines in function.php of my theme child makes fatal error :function cmplz_show_banner_on_click() { jQuery(document).ready(function ($) { $(document).on('click', '.cmplz-show-banner', function(){ $('.cc-revoke').click(); $('.cc-revoke').fadeOut(); }); }); } add_action( 'wp_footer', 'cmplz_show_banner_on_click' );
Have I missed something ? Thanks
Regards,
StéphaneThe page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to have a fixed button in the footer instead’ is closed to new replies.