WordPress.org

Support

Support » Plugins and Hacks » Contnet flashes before Age verify overlap is loaded

Contnet flashes before Age verify overlap is loaded

Viewing 1 replies (of 1 total)
  • Plugin Author Chase Wiseman

    @chasewiseman

    Yes, this will happen from time to time as the verification form is simply an overlay covering the content.

    In your case, it looks like the overlay is waiting for other large elements that load first on the page.

    Perhaps try to switch the overlay from loading in the footer to loading in the header by removing it from the footer (via your theme’s functions.php):

    global $age_verify;
    remove_action( 'wp_footer', array( $age_verify, 'verify_overlay' ) );

    Then add it elsewhere, like right after the body tag:

    <?php global $age_verify;
    $age_verify->verify_overlay(); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Contnet flashes before Age verify overlap is loaded’ is closed to new replies.