• Hello,

    I’m wondering if there is a function i can use so users can enable cookies after they have refused them?

    For example if they have declined cookies then a message will appear saying they have cookies disabled with a link to re enable.

    <?php if ( function_exists('cn_cookies_accepted') && cn_cookies_accepted() ) { ?>
    
    <a class="twitter-timeline" data-width="328" data-height="300" data-theme="light" data-link-color="#bc0000" href="https://twitter.com/">
    </a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
    
    <?php } else { 
    	echo "Cannot display content. You currently have cookies disabled. Please enable cookies here {link to enable cookies}";
    } ?>
    <?php  } ?>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Enable cookies after refusing’ is closed to new replies.