File "loop-start.php"

Full Path: /home/siazco/grocery.siazco.se/wp-content/themes/kapee/woocommerce/loop/loop-start.php
File size: 1.1 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * Product Loop Start
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/loop/loop-start.php.
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see 	    https://docs.woocommerce.com/document/template-structure/
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     3.3.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if( kapee_get_loop_prop( 'name' ) == 'kapee-carousel' ){ ?>
	<div id="<?php echo esc_attr(kapee_get_loop_prop('unique_id'));?>" class="row">
	<div class="products <?php echo kapee_product_row_classes(); // PHPCS:Ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
<?php }else { ?>
	<div class="products <?php echo kapee_product_row_classes(); // PHPCS:Ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
<?php }?>