Support » Plugin: GDPR Cookie Compliance (CCPA ready) » How turn off Cookie Info Bar ?

  • Resolved zdzich


    How I turn off Cookie Info Bar ? How to turn off . I would like to show the user who visits the page to immediately see the popup with the settings.

Viewing 1 replies (of 1 total)
  • Hi There,

    You can try to add the following code snippets to your functions.php

    Function to disable the cookie info bar:

    function moove_extend_gdpr_styles( $styles, $primary, $secondary ) {
      $styles .= '#moove_gdpr_cookie_info_bar { display: none; }';
      return $styles;

    Function to display the popup if the cookies does NOT exists:

    function gdpr_js_extension() {
        		if ( ! document.cookie.match(/^(.*;)?\s*moove_gdpr_popup\s*=\s*[^;]+(.*)?$/) ) {
        				var modal_instance = lity('#moove_gdpr_cookie_modal');
        			}, 500);
        echo ob_get_clean();
    add_action( 'wp_footer', 'gdpr_js_extension', 1000 );

    I hope this works.

    • This reply was modified 3 years, 4 months ago by Moove Agency.
Viewing 1 replies (of 1 total)
  • The topic ‘How turn off Cookie Info Bar ?’ is closed to new replies.