PATH:
home
/
carfac
/
public_html
/
unitphotog
/
wp-content
/
themes
/
leadx
<?php get_header(); $top_padding = get_post_meta(get_the_ID(), 'leadx_post_top_padding', true); $bottom_padding = get_post_meta(get_the_ID(), 'leadx_post_bottom_padding', true); ?> <div class="wrapper <?php echo esc_attr($top_padding) . ' ' . esc_attr($bottom_padding); ?>" id="page-wrapper"> <div class="container"> <div class="row"> <?php // Single Products Page if(is_product()){ // Get WooCommerce Single Product Layout from Theme Options $sidebar = get_theme_mod('leadx_wc_single_layout', 'no-sidebar'); if($sidebar == 'left-sidebar' || $sidebar == 'right-sidebar') { $wooclass_single = 'col-md-8'; } else{ $wooclass_single = 'col-md-12'; } ?> <?php if($sidebar == 'left-sidebar' && is_woocommerce()) { ?> <div class="sidebar-left"> <?php /* WooCommerce Sidebar */ get_sidebar('shop'); ?> </div> <?php } ?> <div id="primary" class="<?php echo esc_attr($wooclass_single); ?> product-page"> <?php woocommerce_content(); ?> </div> <!-- end content --> <?php if($sidebar == 'right-sidebar' && is_woocommerce()) { /* WooCommerce Sidebar */ get_sidebar('shop'); } ?> <?php // Main Shop Layout } else{ $main_sidebar = get_theme_mod('leadx_wc_main_layout', 'left-sidebar'); // Get WooCommerce Layout from Theme Options if( $main_sidebar == 'no-sidebar') { $wooclass = 'col-md-12'; } else{ $wooclass = 'col-md-8'; } ?> <?php if($main_sidebar == 'left-sidebar' && is_woocommerce()) { ?> <div class="sidebar-left"> <?php /* WooCommerce Sidebar */ get_sidebar('shop'); ?> </div> <?php } ?> <div id="primary" class="<?php echo esc_attr($wooclass); ?> <?php if(!is_product()){ echo esc_attr(get_theme_mod('leadx_wc_columns', 'columns-3')); } ?>"> <?php woocommerce_content(); ?> </div> <!-- end content --> <?php if($main_sidebar == 'right-sidebar' && is_woocommerce()) { /* WooCommerce Sidebar */ get_sidebar('shop'); } ?> <?php } // end-if main shop layout ?> </div> </div> </div> <!-- end page-wrap --> <?php get_footer(); ?>
[-] archive.php
[edit]
[-] page-visual-composer.php
[edit]
[-] error_log
[edit]
[+]
includes
[+]
demo-content
[+]
fonts
[-] index.php
[edit]
[-] screenshot.png
[edit]
[+]
css
[-] sidebar-shop.php
[edit]
[-] 404.php
[edit]
[+]
vc_templates
[-] style.css
[edit]
[-] comments.php
[edit]
[-] content-page.php
[edit]
[+]
woocommerce
[+]
img
[-] functions.php
[edit]
[-] taxonomy-team_category.php
[edit]
[+]
framework
[-] sidebar.php
[edit]
[-] header.php
[edit]
[-] comment-form.php
[edit]
[-] wpml-config.xml
[edit]
[-] woocommerce.php
[edit]
[+]
js
[-] single.php
[edit]
[-] page.php
[edit]
[-] search.php
[edit]
[-] .htaccess
[edit]
[-] sidebar-page.php
[edit]
[-] readme.txt
[edit]
[-] searchform.php
[edit]
[+]
templates
[+]
..
[-] content-search.php
[edit]
[+]
languages
[-] footer.php
[edit]