Exemplo n.º 1
0
    echo '<div class="container">';
    zn_get_template_from_area('content_main_area', $post->ID, $meta_fields);
    echo '</div>';
}
/*--------------------------------------------------------------------------------------------------
	START GRAY AREA
--------------------------------------------------------------------------------------------------*/
$cls = '';
if (!isset($meta_fields['content_bottom_area']) || !is_array($meta_fields['content_bottom_area'])) {
    $cls = 'noMargin';
}
if (isset($meta_fields['content_grey_area']) && is_array($meta_fields['content_grey_area'])) {
    echo '<div class="gray-area ' . $cls . '">';
    echo '<div class="container">';
    zn_get_template_from_area('content_grey_area', $post->ID, $meta_fields);
    echo '</div>';
    echo '</div>';
}
/*--------------------------------------------------------------------------------------------------
	START BOTTOM AREA
--------------------------------------------------------------------------------------------------*/
if (isset($meta_fields['content_bottom_area']) && is_array($meta_fields['content_bottom_area'])) {
    echo '<div class="container">';
    zn_get_template_from_area('content_bottom_area', $post->ID, $meta_fields);
    echo '</div>';
}
?>
	
</section>
<?php 
get_footer('shop');
Exemplo n.º 2
0
<?php 
/*--------------------------------------------------------------------------------------------------

	HEADER AREA

--------------------------------------------------------------------------------------------------*/
if (!empty($meta_fields['zn_disable_subheader']) && $meta_fields['zn_disable_subheader'] == 'yes') {
    return;
} elseif (!empty($meta_fields['zn_disable_subheader']) && $meta_fields['zn_disable_subheader'] == 'no' && isset($meta_fields['header_area']) && is_array($meta_fields['header_area'])) {
    zn_get_template_from_area('header_area', $post->ID, $meta_fields);
    return;
} elseif (!empty($meta_fields['zn_disable_subheader']) && $meta_fields['zn_disable_subheader'] == 'no') {
} elseif (!empty($data['zn_disable_subheader']) && $data['zn_disable_subheader'] == 'yes') {
    return;
} elseif (isset($meta_fields['header_area']) && is_array($meta_fields['header_area'])) {
    zn_get_template_from_area('header_area', $post->ID, $meta_fields);
    return;
} elseif (is_404()) {
    $style = 'uh_' . $data['404_header_style'];
    ?>
		<div id="page_header" class="<?php 
    echo $style;
    ?>
 bottom-shadow">
			<div class="bgback"></div>
			
			<div data-images="<?php 
    echo IMAGES_URL;
    ?>
/" id="sparkles"></div>