Server IP : 15.235.198.142 / Your IP : 216.73.216.190 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/limehill_LIVE/wp-content/themes/oceanwp/woocommerce/loop/ |
Upload File : |
<?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/ * @package WooCommerce\Templates * @version 3.3.0 */ // Classes. $wrap_classes = array( 'products', 'oceanwp-row', 'clr' ); // List/grid style. if ( ( (function_exists( 'oceanwp_is_woo_shop' ) && oceanwp_is_woo_shop()) || (function_exists( 'oceanwp_is_woo_tax' ) && 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 ); ?>">