Hi there,
i have a google map at my homepage and I want do show it only after the user has accepted my cookie/map notice.
I found a code in this forum:
<?php
if ( function_exists('cn_cookies_accepted') && cn_cookies_accepted() ) { ?>
<script>
...
</script>
<?php } ?>
but it doesnt work. The map isn’t displayed anyway (the google map code isn’t in the sourcecode of the page.
I also doesn’t find any option or something else in the plugin page I have to enable.
Does anyone have a tip or idea?
Thanks a lot.