0byt3m1n1
Path:
/
home1
/
aserty
/
public_html
/
bonniescraftygifts.com
/
iFzj4
/
configCHM
/
Jump
/
0-aserty
/
natureultra.com
/
wp-content
/
plugins
/
thrive-visual-editor
/
lightbox
/
[
Home
]
File: layout-edit.php
<?php /* Display a layout for editing Thrive Lightbox posts */ global $is_thrive_theme; $options = array(); if ($is_thrive_theme) { $options = thrive_get_options_for_post(get_the_ID()); } do_action('get_header'); ?><!DOCTYPE html> <!--[if IE 7]> <html class="ie ie7" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 8]> <html class="ie ie8" <?php language_attributes(); ?>> <![endif]--> <!--[if !(IE 7) | !(IE 8) ]><!--> <html <?php language_attributes(); ?> style="margin-top: 0 !important;height:100%"> <!--<![endif]--> <?php $post_id = get_the_ID(); $config = tve_get_lightbox_globals($post_id); $is_for_landing_page = get_post_meta($post_id, 'tve_lp_lightbox', true); ?> <head> <?php if ($is_thrive_theme) : ?> <?php tha_head_top() ?> <?php endif ?> <meta charset="<?php bloginfo('charset'); ?>"/> <meta name="robots" content="noindex, nofollow" /> <title> <?php /* Genesis wraps the meta title into another <title> tag using this hook: genesis_doctitle_wrap. the following line makes sure this isn't called */ ?> <?php /* What if they change the priority at which this hook is registered ? :D */ ?> <?php remove_filter( 'wp_title', 'genesis_doctitle_wrap', 20 ) ?> <?php wp_title('|', true, 'right'); ?> </title> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <?php if ($is_for_landing_page) : $landing_page_config = tve_get_landing_page_config($is_for_landing_page); if (!empty($landing_page_config['fonts'])) : ?> <?php foreach ($landing_page_config['fonts'] as $font) : ?> <link href="<?php echo $font ?>" rel="stylesheet" type="text/css"/> <?php endforeach ?> <?php endif ?> <?php endif ?> <?php wp_head(); ?> <?php if ($is_thrive_theme) : ?> <?php if ($options['favicon'] && $options['favicon'] != ""): ?> <link rel="shortcut icon" href="<?php echo $options['favicon']; ?>"/> <?php endif; ?> <?php if (isset($options['custom_css']) && $options['custom_css'] != ""): ?> <style type="text/css"><?php echo $options['custom_css']; ?></style> <?php endif; ?> <?php tha_head_bottom(); ?> <?php endif ?> </head> <body <?php body_class('tve-l-open tve-o-hidden tve-lightbox-page') ?>> <div class="bSe<?php echo $is_for_landing_page ? ' wrp cnt' : '' ?>" style="display: none"> <div class="awr"></div> </div> <div class="tve_p_lb_overlay" style="<?php echo $config['overlay']['css'] ?>"<?php echo $config['overlay']['custom_color'] ?>></div> <div class="tve_post_lightbox<?php echo !$is_for_landing_page ? ' wrp cnt bSe' : '' ?>"> <?php if (!$is_for_landing_page) : ?> <article><?php endif ?> <div class="tve_p_lb_background tve-scroll"> <div class="tve_p_lb_content<?php echo $config['content']['class'] ?>" style="<?php echo $config['content']['css'] ?>"<?php echo $config['content']['custom_color'] ?>> <div class="tve_p_lb_inner" id="tve-p-scroller" style="<?php echo $config['inner']['css'] ?>"> <?php while (have_posts()) { the_post(); the_content(); } ?> </div> <a href="javascript:void(0)" class="tve_p_lb_close<?php echo $config['close']['class'] ?>" style="<?php echo $config['close']['css'] ?>"<?php echo $config['close']['custom_color'] ?> title="Close">x</a> </div> <div class="tve-spacer"></div> </div> <?php if (!$is_for_landing_page) : ?></article><?php endif ?> </div> <?php do_action('get_footer') ?> <?php wp_footer() ?> <?php if (!is_editor_page()) : ?> <script type="text/javascript"> jQuery(document).ready(function () { /* trigger lightbox opening */ jQuery('.tve_p_lb_content').trigger('tve.lightbox-open'); }); </script> <?php endif ?> </body> </html>