WS_OK_7.4.33
<?php
/**
* Template Name: Exit Intent
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages and that
* other "pages" on your WordPress site will use a different template.
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
if ( !defined('ABSPATH') ){ die(); }
global $avia_config;
/*
* get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
*/
get_header();
if( get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title();
do_action( 'ava_after_main_title' );
?>
<script type="text/javascript">
bioEp.init({
html: '<div id="bio_ep_content">' +
'<img src="http://www.liceclinicsmurray.com/wp-content/uploads/2016/11/Larada_LCoA-Web2-Logo368.png" alt="Claim your discount!" />' +
'<span>Please WAIT!</span>' +
'<span>We want to offer you a FREE Head Lice Screening</span>' +
'<span>or</span>' +
'<span>$25 off a full service professional treatment</span>' +
'<a href="http://www.liceclinicsmurray.com/contact/" class="bio_btn">Schedule Your Free Screening</a>' +
'</div>',
css: '#bio_ep {width: 400px; height: 380px; color: #333; background-color: #fafafa; text-align: center;}' +
'#bio_ep_content {padding: 24px 0 0 0;}' +
'#bio_ep_content span:nth-child(2) {display: block; color: #f21b1b; font-size: 32px; font-weight: 600;}' +
'#bio_ep_content span:nth-child(3) {margin-top:25px;display: block; font-size: 16px;}' +
'#bio_ep_content span:nth-child(4) {margin-top:10px;display: block; margin: -5px 0 0 0; font-size: 16px; font-weight: 600;}' +
'.bio_btn {display: inline-block; margin: 18px 0 0 0; padding: 7px; color: #fff; font-size: 14px; font-weight: 600; background-color: #70bb39; border: 1px solid #47ad0b; cursor: pointer; -webkit-appearance: none; -moz-appearance: none; border-radius: 0; text-decoration: none;}',
cookieExp: 0
});
</script>
<div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'>
<div class='container'>
<main class='template-page content <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'page'));?>>
<?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-page.php and that will be used instead.
*/
$avia_config['size'] = avia_layout_class( 'main' , false) == 'fullsize' ? 'entry_without_sidebar' : 'entry_with_sidebar';
get_template_part( 'includes/loop', 'page' );
?>
<!--end content-->
</main>
<?php
//get the sidebar
$avia_config['currently_viewing'] = 'page';
get_sidebar();
?>
</div><!--end container-->
</div><!-- close default .container_wrap element -->
<?php get_footer(); ?>