Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #26205

    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:

    if ( function_exists('cn_cookies_accepted') && cn_cookies_accepted() ) { ?>
    <?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.


    It works. I did an error in the code position.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.