Support » Plugin: GDPR/CCPA Cookie Consent Banner » Compatible with WordPress 4.5?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Gareth

    (@catapult_themes)

    Hi

    Can you post a link?

    Thread Starter j88olt

    (@j88olt)

    Gareth

    (@catapult_themes)

    Do you have wp_footer() in your theme?

    Thread Starter j88olt

    (@j88olt)

    I have a theme footer

    Gareth

    (@catapult_themes)

    You need to check for wp_footerhttps://codex.wordpress.org/Function_Reference/wp_footer

    Thread Starter j88olt

    (@j88olt)

    Sorry to be such a numpty but I can only find footer.php and post-footer.php, nowhere can I find wp_footer!

    Gareth

    (@catapult_themes)

    No problem. Look in the footer.php file in your theme for the wp_footer() tag.

    Thread Starter j88olt

    (@j88olt)

    I give up – it eludes me. Here is the copy in my footer.php
    <?php
    /**
    * The template for displaying the footer.
    *
    * Contains the closing of the id=main div and all content after
    *
    * @package Cazuela
    * @since Cazuela 1.0
    */
    ?>

    </div><!– .inner –>
    </div><!– #main .site-main –>

    <?php
    // Before Footer theme hook callback
    thsp_hook_before_footer();
    ?>

    <footer id=”colophon” class=”site-footer” role=”contentinfo”>
    <?php if ( is_active_sidebar( ‘footer-widget-area’ ) ) : ?>
    <div class=”inner clearfix”>
    <section id=”footer-widget-area” class=”<?php echo thsp_count_widgets( ‘footer-widget-area’ ); ?>”>
    <?php dynamic_sidebar( ‘footer-widget-area’ ); ?>
    </section><!– #footer-widgets –>
    </div><!– .inner –>
    <?php endif; ?>

    <div id=”footer-nav” class=”inner clearfix”>
    <?php
    // Footer menu
    wp_nav_menu( array(
    ‘theme_location’ => ‘footer’,
    ‘container’ => ‘nav’,
    ‘container_class’ => ‘footer-navigation’,
    ‘fallback_cb’ => ”
    ) );
    ?>

    <div id=”footer-credits”>
    © <?php echo date(‘Y’);?> The Cottage Trelash

    ” title=”<?php esc_attr_e( ‘WordPress development’, ‘cazuela’ ); ?>” rel=”nofollow”><?php echo __( ‘Jacqueline Bolt’ ); ?>
    </div><!– #footer-credits –>
    </div><!– #footer-nav –>

    <?php
    // Before Footer theme hook callback
    thsp_hook_after_footer();
    ?>
    </footer><!– #colophon .site-footer –>

    </div><!– #page .hfeed .site –>
    </body>
    </html>

    Gareth

    (@catapult_themes)

    It looks like your theme is missing the wp_footer () tag. This is likely to cause problems with other plugins so I’d recommend talking to the developer. It’s standard practice to include this tag in all themes.

    Thread Starter j88olt

    (@j88olt)

    Phew, its not me after all, that’s a relief. I will contact them post haste. Should I end up with one, will this be the solution to my problem with the plug in. Would this situation stop the plugin working, say at the top of the page?

    Gareth

    (@catapult_themes)

    If you fix the theme, the plugin will work correctly.

    Thread Starter j88olt

    (@j88olt)

    OK, I am sorry to have bothered you. I have just emailed my theme authors to ask them for help. Thank you.

    Gareth

    (@catapult_themes)

    No problem.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Compatible with WordPress 4.5?’ is closed to new replies.