Exemple #1
0
    $layer4_fixed = 'fixed';
} else {
    $layer4_fixed = '';
}
if ($layerset5 == 'layer5_imagefull' || $layerset5 == 'layer5_video' || $layerset5 == 'layer5_cycle') {
    $layer5_fixed = 'fixed';
} else {
    $layer5_fixed = '';
}
/* ------------------------------------
:: MAIN BACKGROUND
------------------------------------ */
echo "\n" . '<div id="custom-layer5-color" class="custom-layer"></div>';
echo "\n" . '<div id="custom-layer5" class="custom-layer ' . $layer5_fixed . '">';
if (!empty($layerset5)) {
    echo setlayer_html("layer5", $layerset5, $skin);
}
echo "\n" . '</div>';
/* ------------------------------------
:: CONFIGURE HEADER
------------------------------------ */
if ($NV_disableheader != 'yes') {
    require NV_DIR . "/config.header.php";
} else {
    echo '<div class="row"></div>';
}
/* ------------------------------------
:: REVOLUTION SLIDER
------------------------------------ */
if (is_page() || get_post_type($post) == 'portfolio' && is_single()) {
    if ($NV_show_slider == "revslider" && class_exists('RevSlider')) {
Exemple #2
0
    	
        <div id="custom-layer3" class="custom-layer <?php 
    !empty($layer3_fixed) ? $layer3_fixed : '';
    ?>
"><?php 
    if (!empty($layerset3)) {
        echo setlayer_html("layer3", $layerset3, $skin);
    }
    ?>
</div>
        <div id="custom-layer4" class="custom-layer <?php 
    !empty($layer4_fixed) ? $layer4_fixed : '';
    ?>
"><?php 
    if (!empty($layerset4)) {
        echo setlayer_html("layer4", $layerset4, $skin);
    }
    ?>
</div>

		<?php 
    // Shadow
    if ($NV_footer_shadow != 'disable') {
        echo '<div class="shadow bottom custom-layer"></div>';
    }
    ?>
        
        <div class="wrapper">
            <footer id="footer" class="clearfix row skinset-footer nv-skin <?php 
    echo $NV_frame_footer . ' ' . $NV_footer_divider;
    ?>
Exemple #3
0
body_class('skinset-background nv-skin ' . $preloader);
?>
>
        
	<?php 
$layerset1 = !empty($get_skin_data['skin_id_layer1_type']) ? stripslashes(htmlspecialchars($get_skin_data['skin_id_layer1_type'])) : '';
// Set Fixed Position for specific background layers
if ($layerset1 == 'layer1_imagefull' || $layerset1 == 'layer1_video' || $layerset1 == 'layer1_cycle') {
    $layer1_fixed = 'fixed';
} else {
    $layer1_fixed = '';
}
if ($layerset1) {
    echo "\n\t" . '<div id="custom-layer1-color" class="custom-layer"></div>';
    echo "\n\t" . '<div id="custom-layer1" class="custom-layer ' . $layer1_fixed . '">';
    echo "\n\t\t" . setlayer_html("layer1", $layerset1, $skin);
    echo "\n\t" . '</div>';
}
// Background Sliders
$auto_hide_menu_timeout = $fullscreen_slider = '';
// Auto hide menu
$collapse_menu = get_post_meta($post->ID, '_cmb_collapse_menu', true) != 'disable-callapse-menu' && (of_get_option('collapse_menu') == 'collapse-menu' || get_post_meta($post->ID, '_cmb_collapse_menu', true) == 'collapse-menu') ? 'collapse-menu' : '';
// Header layout
$header_layout_type = preg_match("/^top-/", of_get_option('header_layout')) ? 'top' : '';
$header_layout = of_get_option('header_layout');
// Auto hide menu attribute
$auto_hide_menu_timeout = !empty($timeout) ? 'data-menutimeout="' . $timeout . '"' : '';
if ($NV_show_slider == "fullslider") {
    $fullscreen_slider = 'yes';
    // Auto hide menu
    $autohide = get_post_meta($post->ID, '_cmb_autohide_menu', true) == 'auto-hide' ? get_post_meta($post->ID, '_cmb_autohide_menu', true) : '';