• Resolved flen

    (@flen)


    Hi,

    I have set up the plugin on my above website but I am not finding any option to display the cookie consent banner regularly or after 1 or 2 days post accepting or decline the cookie.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @flen,

    By default, the cookie consent is set for a duration of 365 days. You can modify this using a filter. Please refer to the article here for instructions.

    Thread Starter flen

    (@flen)

    Hi,

    Thank you for quick reply

    so after adding 1 day ,will cookie bar show again after 1 day even after decline or accept?

    Thread Starter flen

    (@flen)

    I have set the code as below

    add_action('wp_footer','cli_set_expire',20);
    function cli_set_expire()
    { 
    	if(class_exists('Cookie_Law_Info_Public')) //first time visit and class exists
    	{
    	?>
    	<script type="text/javascript">
    
    		CLI_ACCEPT_COOKIE_EXPIRE = 1;
    		
    	</script>
    	<?php
    	}
    }
    Plugin Author WebToffee

    (@webtoffee)

    Hi @flen,

    We checked your site and we can confirm that it is working correctly. You too can check by checking the expiry of viewed_cookie_policy cookie.

    Hope that would be all. If you like the plugin and support, please leave a review.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Cookie Banner Display’ is closed to new replies.