<aside id="gk-sidebar_wc"> <?php gk_dynamic_sidebar('sidebar_wc'); ?> </aside> <?php do_action('gavernwp_after_column'); ?> <?php } ?> <!--[if IE 8]> <div class="ie8clear"></div> <![endif]--> </div><!-- end of the #gk-mainbody-columns --> </div><!-- end of the .gk-page section --> </div><!-- end of the .gk-page-wrap section --> <?php if (gk_is_active_sidebar('bottom')) { ?> <div id="gk-bottom"> <div class="widget-area gk-page"> <?php gk_dynamic_sidebar('bottom'); ?> </div> </div> <?php }
get_search_form(); ?> </div> </article> </section> <?php } ?> <?php do_action('gavernwp_after_mainbody'); ?> <?php } else { ?> <?php if (gk_is_active_sidebar('mainbody')) { ?> <section id="gk-mainbody"> <?php gk_dynamic_sidebar('mainbody'); ?> </section> <?php } ?> <?php } gk_load('after'); gk_load('footer'); /* EOF */
?> <?php gavern_woocommerce_breadcrumb(); ?> <?php } else { ?> <?php gk_breadcrumbs_output(); ?> <?php } ?> </div> </div> <?php } ?> <?php if (gk_is_active_sidebar('header')) { ?> <div id="gk-header-mod"> <?php gk_dynamic_sidebar('header'); ?> </div> <?php } ?> </header>
if (get_option($tpl->name . '_template_footer_logo', 'Y') == 'Y') { ?> <img src="<?php echo gavern_file_uri('images/gavernwp.png'); ?> " class="gk-framework-logo" alt="GavernWP" /> <?php } ?> <p class="gk-disclaimer">Copyright © 2012. Designed by <a href="http://www.gavick.com">GavickPro</a> - High quality free WordPress Themes</p> <p class="gk-disclaimer">Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a></p> </footer> <?php if (gk_is_active_sidebar('social')) { ?> <div id="gk-social-icons" class="<?php echo get_option($tpl->name . '_social_icons_position', 'right'); ?> "> <?php gk_dynamic_sidebar('social'); ?> </div> <?php } ?> <?php gk_load('social');
<?php if (gk_is_active_sidebar('header-right')) { ?> <div id="gk-header-right"> <?php gk_dynamic_sidebar('header-right'); ?> </div> <?php } ?> </div> <?php } ?> </header> <?php if (gk_is_active_sidebar('header-bottom')) { ?> <div id="gk-header-bottom"> <div class="gk-page"> <?php gk_dynamic_sidebar('header-bottom'); ?> </div> </div> <?php }
* **/ // create an access to the template main object global $tpl; global $fullwidth; // disable direct access to the file defined('GAVERN_WP') or die('Access denied'); ?> <style type="text/css"> .gk-page { max-width: <?php echo get_option($tpl->name . '_template_width', 980); ?> px; } <?php if (get_option($tpl->name . '_page_layout', 'right') != 'none' && gk_is_active_sidebar('sidebar') && $fullwidth != true) { ?> #gk-mainbody-columns > aside { width: <?php echo get_option($tpl->name . '_sidebar_width', '30'); ?> %;} #gk-mainbody-columns > section { width: <?php echo 100 - get_option($tpl->name . '_sidebar_width', '30'); ?> %; } <?php } else { ?> #gk-mainbody-columns > section { width: 100%; } <?php }
<?php // disable direct access to the file defined('GAVERN_WP') or die('Access denied'); global $gk_tpl; $cartActive = gk_is_active_sidebar('cart'); ?> <?php if ($cartActive) { ?> <div id="gk-popup-cart"> <div class="gk-popup-wrap"> <i class="gk-icon-cross"></i> <?php gk_dynamic_sidebar('cart'); ?> </div> </div> <?php }
?> %; } #gk-mainbody-columns > div > section { background-position: <?php echo get_option($gk_tpl->name . '_inset_position', 'right') == 'right' ? 100 - get_option($gk_tpl->name . '_inset_width', '30') : get_option($gk_tpl->name . '_inset_width', '30'); ?> % 0!important; } <?php } else { ?> #gk-content-wrap { width: 100%; } <?php } ?> <?php if (gk_is_active_sidebar('header-left') && gk_is_active_sidebar('header-right')) { ?> #gk-header-left { width: <?php echo get_option($gk_tpl->name . '_header_left_width', '77'); ?> %; } #gk-header-right { width: <?php echo 100 - get_option($gk_tpl->name . '_header_left_width', '77'); ?> %; } <?php } ?> <?php if (get_option($gk_tpl->name . '_header_background', '') != '') {
<?php /** * * Woocommerce Page * **/ global $gk_tpl; $fullwidth = true; $wooc_sidebar = false; array('sidebar' => false); if (get_option($gk_tpl->name . '_wooc_layout', 'right') != 'none' && gk_is_active_sidebar('sidebar_wc')) { $wooc_sidebar = true; } if ($wooc_sidebar) { $fullwidth = false; } else { $fullwidth = true; } gk_load('header'); if ($wooc_sidebar) { gk_load('before', null, array('sidebar_wc' => true)); } else { gk_load('before', null, array('sidebar' => false)); } ?> <section id="gk-mainbody"> <?php do_action('woocommerce_before_main_content'); ?>
<?php if (gk_is_active_sidebar('bottom5')) { ?> <div id="gk-bottom5"<?php if (gk_is_active_sidebar('bottom5') === 1) { ?> class="gk-single-widget"<?php } ?> > <?php if (gk_is_active_sidebar('bottom5') > 1) { ?> <div class="gk-page"><?php } ?> <div class="widget-area"> <?php gk_dynamic_sidebar('bottom5'); ?> </div> <?php if (gk_is_active_sidebar('bottom5') > 1) { ?> </div><?php } ?> </div> <?php }
?> px; } <?php if (get_option($gk_tpl->name . '_page_layout', 'right') != 'none' && gk_is_active_sidebar('sidebar') && $fullwidth != true && $wc_check == 'disable') { ?> #gk-mainbody-columns > aside { width: <?php echo get_option($gk_tpl->name . '_sidebar_width', '30'); ?> %;} #gk-mainbody-columns > section { width: <?php echo 100 - get_option($gk_tpl->name . '_sidebar_width', '30'); ?> %; } <?php } elseif (get_option($gk_tpl->name . '_wooc_layout', 'right') != 'none' && gk_is_active_sidebar('sidebar_wc') && $fullwidth != true && $wc_check == 'enable') { ?> #gk-mainbody-columns > aside { width: <?php echo get_option($gk_tpl->name . '_wc_sidebar_width', '30'); ?> %;} #gk-mainbody-columns > section { width: <?php echo 100 - get_option($gk_tpl->name . '_wc_sidebar_width', '30'); ?> %; } <?php } else { ?> #gk-mainbody-columns > section { width: 100%; } <?php }