File Manager

Current Path : /webspace/www.nougat-bb.be/html/wp-content/themes/betheme/betheme/woocommerce/loop/
Upload File :
Current File : //webspace/www.nougat-bb.be/html/wp-content/themes/betheme/betheme/woocommerce/loop/loop-start.php

<?php
/**
 * Product Loop Start
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     2.0.0
 */

$shop_classes = array();

if( is_woocommerce() ){
	// Shop Layout aplies ONLY for archives page (Shop)
	
	if( ! is_product() ){
		
		// layout
		if( $_GET && key_exists('mfn-shop', $_GET) ){
			$shop_layout = $_GET['mfn-shop']; // demo
		} else {
			$shop_layout = mfn_opts_get( 'shop-layout', 'grid' );
		}
		$shop_classes[] = $shop_layout;
		
		// isotope
		if( $shop_layout == 'masonry' ) $shop_classes[] = 'isotope';
		
	}
	
}

$shop_classes = implode(' ', $shop_classes);
?>

<div class="products_wrapper isotope_wrapper">
	<ul class="products <?php echo $shop_classes; ?>">

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com