function verify_overlay() { global $assets_url; // Disable page caching by W3 Total Cache. define('DONOTCACHEPAGE', true); ?> <div id="nona-overlay-wrap" class="nona-site-gate-hide"> <div id="nona-overlay-inner"> <div id="nona-overlay"> <div class="nona-overlay-logo"><img src="<?php echo $assets_url; ?> /img/gm-logo.png"></div> <?php nona_verify_form(); ?> </div> </div> </div> <?php }
/** * Print the actual overlay if the visitor needs verification. * * @since 0.1.0 * * @return void */ public function verify_overlay() { // Disable page caching by W3 Total Cache. define('DONOTCACHEPAGE', true); ?> <div id="nona-overlay-wrap" class="nona-age-gate-hide"> <div id="nona-overlay-inner"> <div id="nona-overlay"> <div class="landing-panel-wrap wrap"> <div class="landing-panel krone"> <a href="<?php echo home_url(); ?> /krone"> <span class="logo"></span> </a> </div> <div class="landing-panel tjg"> <a href="<?php echo home_url(); ?> /twee-jonge-gezellen"> <span class="logo"></span> </a> </div> </div> <div class="araFooter"> <small> <a href="http://www.ara.co.za/" target="_blank" rel="nofollow"> Enjoy Responsibly. Not for Sale to Persons Under the Age of 18. </a> </small> </div> <?php nona_verify_form(); ?> </div> </div> </div> <?php }