| Server IP : 104.21.32.175 / Your IP : 216.73.217.138 Web Server : Apache System : Linux vps-850873.bgcolombia.com 3.10.0-1160.144.1.el7.tuxcare.els5.x86_64 #1 SMP Wed May 13 12:31:54 UTC 2026 x86_64 User : melizav ( 1018) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/melizav/.trash/oceanwp/woocommerce/loop/ |
Upload File : |
<?php
/**
* Product Loop Start
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 9999
*/
// Classes
$wrap_classes = array( 'products', 'oceanwp-row', 'clr' );
// List/grid style
if ( ( oceanwp_is_woo_shop() || oceanwp_is_woo_tax() )
&& get_theme_mod( 'ocean_woo_grid_list', true )
&& 'list' == get_theme_mod( 'ocean_woo_catalog_view', 'grid' ) ) {
$wrap_classes[] = 'list';
} else {
$wrap_classes[] = 'grid';
}
// Responsive columns
$tablet_columns = get_theme_mod( 'ocean_woocommerce_tablet_shop_columns' );
$mobile_columns = get_theme_mod( 'ocean_woocommerce_mobile_shop_columns' );
if ( ! empty( $tablet_columns ) ) {
$wrap_classes[] = 'tablet-col';
$wrap_classes[] = 'tablet-' . $tablet_columns . '-col';
}
if ( ! empty( $mobile_columns ) ) {
$wrap_classes[] = 'mobile-col';
$wrap_classes[] = 'mobile-' . $mobile_columns . '-col';
}
// If infinite scroll
if ( 'infinite_scroll' == get_theme_mod( 'ocean_woo_pagination_style', 'standard' ) ) {
$wrap_classes[] = 'infinite-scroll-wrap';
}
$wrap_classes = implode( ' ', $wrap_classes ); ?>
<ul class="<?php echo esc_attr( $wrap_classes ); ?>">