Support » Plugin: CookieYes | GDPR Cookie Consent & Compliance Notice (CCPA Ready) » GDPR Cookie Consent Banner Not Showing

  • Resolved jaatendi

    (@jaatendi)


    Hi, the banner isn’t showing despite everything I have tried including:

    – Switching themes
    – Switching to a popup from banner
    – Using this CSS:
    #cookie-law-info-bar {
    z-index: 999999;
    }

    Please help!

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

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author webtoffee

    (@webtoffee)

    Hi @jaatendi,

    Please verify if the wp_footer() hook is called in the template file of your active theme.

    Thread Starter jaatendi

    (@jaatendi)

    <?php
    	global $qode_options_proya;
    	$page_id = qode_get_page_id();
    ?>
    <?php 
    $content_bottom_area = "yes";
    if(get_post_meta($page_id, "qode_enable_content_bottom_area", true) != ""){
    	$content_bottom_area = get_post_meta($page_id, "qode_enable_content_bottom_area", true);
    } else{
    	if (isset($qode_options_proya['enable_content_bottom_area'])) {
    		$content_bottom_area = $qode_options_proya['enable_content_bottom_area'];
    	}
    }
    $content_bottom_area_sidebar = "";
    if(get_post_meta($page_id, 'qode_choose_content_bottom_sidebar', true) != ""){
    	$content_bottom_area_sidebar = get_post_meta($page_id, 'qode_choose_content_bottom_sidebar', true);
    } else {
    	if(isset($qode_options_proya['content_bottom_sidebar_custom_display'])) {
    		$content_bottom_area_sidebar = $qode_options_proya['content_bottom_sidebar_custom_display'];
    	}
    }
    $content_bottom_area_in_grid = true;
    if(get_post_meta($page_id, 'qode_content_bottom_sidebar_in_grid', true) != ""){
    	if(get_post_meta($page_id, 'qode_content_bottom_sidebar_in_grid', true) == "yes") {
    		$content_bottom_area_in_grid = true;
    	} else {
    		$content_bottom_area_in_grid = false;
    	} 
    }
    else {
    	if(isset($qode_options_proya['content_bottom_in_grid'])){if ($qode_options_proya['content_bottom_in_grid'] == "no") $content_bottom_area_in_grid = false;}
    }
    $content_bottom_background_color = '';
    if(get_post_meta($page_id, "qode_content_bottom_background_color", true) != ""){
    	$content_bottom_background_color = get_post_meta($page_id, "qode_content_bottom_background_color", true);
    }
    ?>
    	<?php if($content_bottom_area == "yes") { ?>
    	<?php if($content_bottom_area_in_grid){ ?>
    		<div class="container">
    			<div class="container_inner clearfix">
    	<?php } ?>
    		<div class="content_bottom" <?php if($content_bottom_background_color != ''){ echo 'style="background-color:'.$content_bottom_background_color.';"'; } ?>>
    			<?php dynamic_sidebar($content_bottom_area_sidebar); ?>
    		</div>
    		<?php if($content_bottom_area_in_grid){ ?>
    					</div>
    				</div>
    			<?php } ?>
    	<?php } ?>
    	
    	</div>
    </div>
    
    <?php
    if(isset($qode_options_proya['paspartu']) && $qode_options_proya['paspartu'] == 'yes'){?>
            <?php if(isset($qode_options_proya['vertical_area']) && $qode_options_proya['vertical_area'] == "yes" && isset($qode_options_proya['vertical_menu_inside_paspartu']) && $qode_options_proya['vertical_menu_inside_paspartu'] == 'no') { ?>
            </div> <!-- paspartu_middle_inner close div -->
            <?php } ?>
        </div> <!-- paspartu_inner close div -->
        <?php if((isset($qode_options_proya['paspartu_on_bottom']) && $qode_options_proya['paspartu_on_bottom'] == 'yes') ||
            (isset($qode_options_proya['vertical_area']) && $qode_options_proya['vertical_area'] == "yes" && isset($qode_options_proya['vertical_menu_inside_paspartu']) && $qode_options_proya['vertical_menu_inside_paspartu'] == 'yes')){ ?>
            <div class="paspartu_bottom"></div>
        <?php }?>
        </div> <!-- paspartu_outer close div -->
    <?php
    }
    ?>
    
    <?php
    
    $footer_classes_array = array();
    $footer_classes = '';
    
    $paspartu = false;
    if(isset($qode_options_proya['paspartu']) && $qode_options_proya['paspartu'] == 'yes'){
        $paspartu = true;
    }
    
    if(isset($qode_options_proya['paspartu']) && $qode_options_proya['paspartu'] == 'yes' && isset($qode_options_proya['paspartu_footer_alignment']) && $qode_options_proya['paspartu_footer_alignment'] == 'yes'){
        $footer_classes_array[]= 'paspartu_footer_alignment';
    }
    
    if(isset($qode_options_proya['uncovering_footer']) && $qode_options_proya['uncovering_footer'] == "yes" && $paspartu == false){
        $footer_classes_array[] = 'uncover';
    }
    
    $display_footer_top = true;
    
    /*$footer_top_per_page_option = get_post_meta($page_id, "footer_top_per_page", true);
    if(!empty($footer_top_per_page_option)){
    	$footer_top_per_page = $footer_top_per_page_option;
    }
    
    if (isset($qode_options_proya['show_footer_top'])) {
    	if ($qode_options_proya['show_footer_top'] == "no" && $footer_top_per_page_option == 'no') $display_footer_top = false;
    }*/
    
    $display_footer_text = true;
    
    /*if (isset($qode_options_proya['footer_text'])) {
    	if ($qode_options_proya['footer_text'] == "yes") $display_footer_text = true;
    }*/
    
    //is some class added to footer classes array?
    if(is_array($footer_classes_array) && count($footer_classes_array)) {
        //concat all classes and prefix it with class attribute
        $footer_classes = esc_attr(implode(' ', $footer_classes_array));
    }
    
    ?>
    
    <?php if($display_footer_top || $display_footer_text) { ?>
    	<footer <?php echo qode_get_inline_attr($footer_classes, 'class'); ?>>
    		<div class="footer_inner clearfix">
    		<?php
    		$footer_in_grid = true;
    		if(isset($qode_options_proya['footer_in_grid'])){
    			if ($qode_options_proya['footer_in_grid'] != "yes") {
    				$footer_in_grid = false;
    			}
    		}
    
    		
    		$footer_top_columns = 4;
    		if (isset($qode_options_proya['footer_top_columns'])) {
    			$footer_top_columns = $qode_options_proya['footer_top_columns'];
    		}
    
            $footer_top_border_color = !empty($qode_options_proya['footer_top_border_color']) ? $qode_options_proya['footer_top_border_color'] : '';
            $footer_top_border_width = isset($qode_options_proya['footer_top_border_width']) && $qode_options_proya['footer_top_border_width'] !== '' ? $qode_options_proya['footer_top_border_width'].'px' : '1px';
            $footer_top_border_in_grid = 'no';
            $footer_top_border_in_grid_class = '';
    
            if(isset($qode_options_proya['footer_top_border_in_grid'])) {
                $footer_top_border_in_grid = $qode_options_proya['footer_top_border_in_grid'];
                $footer_top_border_in_grid_class = $footer_top_border_in_grid == 'yes' ? 'in_grid' : '';
            }
    
            $footer_top_border_style = array();
            if($footer_top_border_color !== '') {
                $footer_top_border_style[] = 'background-color: '.$footer_top_border_color;
            }
    
            if($footer_top_border_width !== '') {
                $footer_top_border_style[] = 'height: '.$footer_top_border_width;
            }
    
    		if($display_footer_top) { ?>
    		<div class="footer_top_holder">
                <?php if($footer_top_border_color !== '') { ?>
                    <div <?php qode_inline_style($footer_top_border_style); ?> <?php qode_class_attribute('footer_top_border '.$footer_top_border_in_grid_class); ?>></div>
                <?php } ?>
    			<div class="footer_top<?php if(!$footer_in_grid) {echo " footer_top_full";} ?>">
    				<?php if($footer_in_grid){ ?>
    				<div class="container">
    					<div class="container_inner">
    				<?php } ?>
    						<?php switch ($footer_top_columns) { 
    							case 6:
    						?>
    							<div class="two_columns_50_50 clearfix">
    								<div class="column1 footer_col1">
    										<div class="column_inner">
    											<?php dynamic_sidebar( 'footer_column_1' ); ?>
    										</div>
    								</div>
    								<div class="column2">
    									<div class="column_inner">
    										<div class="two_columns_50_50 clearfix">
    											<div class="column1 footer_col2">
    												<div class="column_inner">
    													<?php dynamic_sidebar( 'footer_column_2' ); ?>
    												</div>
    											</div>
    											<div class="column2 footer_col3">
    												<div class="column_inner">
    													<?php dynamic_sidebar( 'footer_column_3' ); ?>
    												</div>
    											</div>
    										</div>
    									</div>
    								</div>
    							</div>							
    						<?php 
    							break;
    							case 5:
    						?>
    							<div class="two_columns_50_50 clearfix">
    								<div class="column1">
    									<div class="column_inner">
    										<div class="two_columns_50_50 clearfix">
    											<div class="column1 footer_col1">
    												<div class="column_inner">
    													<?php dynamic_sidebar( 'footer_column_1' ); ?>
    												</div>
    											</div>
    											<div class="column2 footer_col2">
    												<div class="column_inner">
    													<?php dynamic_sidebar( 'footer_column_2' ); ?>
    												</div>
    											</div>
    										</div>
    									</div>
    								</div>
    								<div class="column2 footer_col3">
    									<div class="column_inner">
    										<?php dynamic_sidebar( 'footer_column_3' ); ?>
    									</div>
    								</div>
    							</div>							
    						<?php 
    							break;
    							case 4:
    						?>
    							<div class="four_columns clearfix">
    								<div class="column1 footer_col1">
    									<div class="column_inner">
    										<?php dynamic_sidebar( 'footer_column_1' ); ?>
    									</div>
    								</div>
    								<div class="column2 footer_col2">
    									<div class="column_inner">
    										<?php dynamic_sidebar( 'footer_column_2' ); ?>
    									</div>
    								</div>
    								<div class="column3 footer_col3">
    									<div class="column_inner">
    										<?php dynamic_sidebar( 'footer_column_3' ); ?>
    									</div>
    								</div>
    								<div class="column4 footer_col4">
    									<div class="column_inner">
    										<?php dynamic_sidebar( 'footer_column_4' ); ?>
    									</div>
    								</div>
    							</div>
    						<?php
    							break;
    							case 3:
    						?>
    							<div class="three_columns clearfix">
    								<div class="column1 footer_col1">
    									<div class="column_inner">
    										<?php dynamic_sidebar( 'footer_column_1' ); ?>
    									</div>
    								</div>
    								<div class="column2 footer_col2">
    									<div class="column_inner">
    										<?php dynamic_sidebar( 'footer_column_2' ); ?>
    									</div>
    								</div>
    								<div class="column3 footer_col3">
    									<div class="column_inner">
    										<?php dynamic_sidebar( 'footer_column_3' ); ?>
    									</div>
    								</div>
    							</div>
    						<?php
    							break;
    							case 2:
    						?>
    							<div class="two_columns_50_50 clearfix">
    								<div class="column1 footer_col1">
    									<div class="column_inner">
    										<?php dynamic_sidebar( 'footer_column_1' ); ?>
    									</div>
    								</div>
    								<div class="column2 footer_col2">
    									<div class="column_inner">
    										<?php dynamic_sidebar( 'footer_column_2' ); ?>
    									</div>
    								</div>
    							</div>
    						<?php
    							break;
    							case 1:
    								dynamic_sidebar( 'footer_column_1' );
    							break;
    						}
    						?>
    				<?php if($footer_in_grid){ ?>
    					</div>
    				</div>
    				<?php } ?>
    			</div>
    			<?php if (isset($qode_options_proya['footer_angled_section'])  && $qode_options_proya['footer_angled_section'] == "yes"){ ?>
    				<svg class="angled-section svg-footer-bottom" preserveAspectRatio="none" viewBox="0 0 86 86" width="100%" height="86">
    					<?php if(isset($qode_options_proya['footer_angled_section_direction']) && $qode_options_proya['footer_angled_section_direction'] == 'from_left_to_right'){ ?>
    						<polygon points="0,0 0,86 86,86" />
    					<?php }
    					if(isset($qode_options_proya['footer_angled_section_direction']) && $qode_options_proya['footer_angled_section_direction'] == 'from_right_to_left'){ ?>
    						<polygon points="0,86 86,0 86,86" />
    					<?php } ?>
    				</svg>
    			<?php } ?>
    		</div>
    		<?php } ?>
    		<?php
    
    		$footer_bottom_columns = 1;
    		if (isset($qode_options_proya['footer_bottom_columns'])) {
    			$footer_bottom_columns = $qode_options_proya['footer_bottom_columns'];
    		}
    
    		$footer_bottom_in_grid = false;
    		if(isset($qode_options_proya['footer_bottom_in_grid'])){
    			if ($qode_options_proya['footer_bottom_in_grid'] == "yes") {
    				$footer_bottom_in_grid = true;
    			}
    		}
    
            $footer_bottom_border_color = !empty($qode_options_proya['footer_bottom_border_color']) ? $qode_options_proya['footer_bottom_border_color'] : '';
            $footer_bottom_border_width = isset($qode_options_proya['footer_bottom_border_width']) && $qode_options_proya['footer_bottom_border_width'] !== '' ? $qode_options_proya['footer_bottom_border_width'].'px' : '1px';
            $footer_bottom_border_in_grid = 'no';
            $footer_bottom_border_in_grid_class = '';
    
            if(isset($qode_options_proya['footer_bottom_border_in_grid'])) {
                $footer_bottom_border_in_grid = $qode_options_proya['footer_bottom_border_in_grid'];
                $footer_bottom_border_in_grid_class = $footer_bottom_border_in_grid == 'yes' ? 'in_grid' : '';
            }
    
            $footer_bottom_border_style = array();
            if($footer_bottom_border_color !== '') {
                $footer_bottom_border_style[] = 'background-color: '.$footer_bottom_border_color;
            }
    
            if($footer_bottom_border_width !== '') {
                $footer_bottom_border_style[] = 'height: '.$footer_bottom_border_width;
            }
    
    		if($display_footer_text){ ?>
    			<div class="footer_bottom_holder">
                    <?php if($footer_bottom_border_color !== '') { ?>
                        <div <?php qode_inline_style($footer_bottom_border_style); ?> <?php qode_class_attribute('footer_bottom_border '.$footer_bottom_border_in_grid_class); ?>></div>
                    <?php } ?>
    				<?php if($footer_bottom_in_grid){ ?>
    				<div class="container">
    					<div class="container_inner">
    				<?php } ?>
    		<?php
    			switch ($footer_bottom_columns) {
    			case 1:
    			?>
    			<div class="footer_bottom">
    				<?php dynamic_sidebar( 'footer_text' ); ?>
    			</div>
    		<?php
    			break;
    			case 2:
    		?>
    				<div class="two_columns_50_50 footer_bottom_columns clearfix">
    					<div class="column1 footer_bottom_column">
    						<div class="column_inner">
    							<div class="footer_bottom">
    								<?php dynamic_sidebar( 'footer_text_left' ); ?>
    							</div>
    						</div>
    					</div>
    					<div class="column2 footer_bottom_column">
    						<div class="column_inner">
    							<div class="footer_bottom">
    								<?php dynamic_sidebar( 'footer_text_right' ); ?>
    							</div>
    						</div>
    					</div>
    				</div>
    				<?php
    			break;
    			case 3:
    		?>
    				<div class="three_columns footer_bottom_columns clearfix">
    					<div class="column1 footer_bottom_column">
    						<div class="column_inner">
    							<div class="footer_bottom">
    								<?php dynamic_sidebar( 'footer_text_left' ); ?>
    							</div>
    						</div>
    					</div>
    					<div class="column2 footer_bottom_column">
    						<div class="column_inner">
    							<div class="footer_bottom">
    								<?php dynamic_sidebar( 'footer_text' ); ?>
    							</div>
    						</div>
    					</div>
    					<div class="column3 footer_bottom_column">
    						<div class="column_inner">
    							<div class="footer_bottom">
    								<?php dynamic_sidebar( 'footer_text_right' ); ?>
    							</div>
    						</div>
    					</div>
    				</div>
    		<?php
    			break;
    			default:
    		?>
    				<div class="footer_bottom">
    					<?php dynamic_sidebar( 'footer_text' ); ?>
    				</div>
    		<?php break; ?>
    		<?php } ?>
    			<?php if($footer_bottom_in_grid){ ?>
    				</div>
    			</div>
    			<?php } ?>
    			</div>
    		<?php } ?>
    		</div>
    	</footer>
    	<?php } ?>
    	
    </div>
    </div>
    <?php wp_footer(); ?>
    </body>
    </html>

    That is the code from my footer.php file in the root of my theme folder. Third line from the bottom is: <?php wp_footer(); ?>

    • This reply was modified 3 years, 8 months ago by jaatendi.
    Thread Starter jaatendi

    (@jaatendi)

    I found the problem. Was conflicting with either Speed Booster or Cookie Consent plugin

    Plugin Author webtoffee

    (@webtoffee)

    Hi @jaatendi,

    We can see the plugin working your site now. If you require any further assistance, please submit a ticket here.

    To debug the issue further, we need to check from your site itself.

    Seems like a great plugin but the cookie banner is not showing for me.

    I’ve tested:
    – De-activating all plugins
    – That wp_footer() exists in my theme
    – Trying a different theme
    – Updated to latest version of WordPress

    • This reply was modified 3 years, 3 months ago by scie.
    • This reply was modified 3 years, 3 months ago by scie.
    Plugin Author webtoffee

    (@webtoffee)

    Hi @scie,

    Please enable the cookie bar and share us the site URL so that we can have a look. Also, ensure to clear site cache.

    Hi,
    Since updating to WordPress 5.3 my GDPR banner is no longer showing. I have tried deactivating and re-activating the plugin but it still doesn’t show. Have you any ideas please?

    UPDATE
    for some reason it’s started working again.

    • This reply was modified 2 years, 10 months ago by IanW. Reason: Resolved

    Hi!

    I was editing the message text, which wasn’t updating, then tried to delete and re-install the plugin and now the banner isn’t showing at all.

    The website is weandai.org

    Would be great if you could have a look, thank you!

    Plugin Author webtoffee

    (@webtoffee)

    Hi @ntlja,

    The cookie banner is now running correctly in the site. It might be some caching issue after update.

    Jenny

    (@jennykieshauer)

    Hey there! The cookie banner doesn’t show at all on my website:
    https://www.jennykieshauer.de/wordpress/
    WordPress 5.4 running starter theme.
    GDPR Cookie Consent Version 1.8.7

    Can you please have a look and give me hint, what could be the issue?
    Cheers, Jenny

    Plugin Author webtoffee

    (@webtoffee)

    Hi @jennykieshauer,

    It looks like our plugin is not active in there anymore.

    Jenny

    (@jennykieshauer)

    What makes you thikn that way? It is activated in the plugins.

    Plugin Author webtoffee

    (@webtoffee)

    Hi @jennykieshauer,

    Looking through the page source of your site (view-source:https://www.jennykieshauer.de/wordpress/), we can’t spot any of the plugin files rendered. Even if there are any issues to display, it would run the corresponding files.

    Please refer to guide here and make sure everything is done correctly.

    Jenny

    (@jennykieshauer)

    I deleted the old plugin and did the installation again as described in the guide. Unfortunately it still doesn’t show up. Do you see that it’s activated now?

    I’ve found that the Honeypot for Contact Form 7 plugin causes a conflict and stops the banner functionality from working. Hope this helps.

    EDIT: LOL, it was actually a CDN cache issue causing the footer banner not to show up! Cleared the cache and all was OK.

    • This reply was modified 2 years, 3 months ago by techtiger.
Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘GDPR Cookie Consent Banner Not Showing’ is closed to new replies.