????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.96.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/./eaabusiness.com/wp-content/themes/yoome/woocommerce/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/./eaabusiness.com/wp-content/themes/yoome/woocommerce/archive-product.php
<?php
/**
 * The Template for displaying product archives, including the main shop page which is a post type archive
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/archive-product.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.4.0
 */

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

get_header();

$theme_options = yoome_get_theme_options();

$extra_class = '';
$page_column_class = yoome_page_layout_columns_class($theme_options['ts_prod_cat_layout']);

$show_breadcrumb = get_post_meta(wc_get_page_id( 'shop' ), 'ts_show_breadcrumb', true);
$show_page_title = apply_filters( 'woocommerce_show_page_title', true ) && get_post_meta(wc_get_page_id( 'shop' ), 'ts_show_page_title', true);
if( $show_breadcrumb || $show_page_title ){
	$extra_class = 'show_breadcrumb_'.$theme_options['ts_breadcrumb_layout'];
}
yoome_breadcrumbs_title($show_breadcrumb, $show_page_title, woocommerce_page_title(false));

$top_filter_position = $theme_options['ts_top_filter_widget_area_position'];
$show_top_filter_widget_area = yoome_is_active_top_filter() && $top_filter_position != 'sidebar';
$show_sidebar_filter_widget_area = is_active_sidebar('sidebar-filter-widget-area') && $theme_options['ts_sidebar_filter_widget_area'];
?>
<div class="page-container <?php echo esc_attr($extra_class) ?>">

	<!-- Left Sidebar -->
	<?php if( $page_column_class['left_sidebar'] ): ?>
		<aside id="left-sidebar" class="ts-sidebar <?php echo esc_attr($page_column_class['left_sidebar_class']); ?>">
		<?php 
		if( $show_sidebar_filter_widget_area ){
			echo '<section class="filter-widget-area">';
			echo '<div class="widget-title-wrapper"><a class="block-control" href="javascript:void(0)"></a><h3 class="widget-title heading-title">'.esc_html__('Shop filter', 'yoome').'</h3></div>';
			dynamic_sidebar( 'sidebar-filter-widget-area' );
			echo '</section>';
			$show_sidebar_filter_widget_area = false;
		}
		if( is_active_sidebar($theme_options['ts_prod_cat_left_sidebar']) ){
			dynamic_sidebar( $theme_options['ts_prod_cat_left_sidebar'] );
		}
		?>
		</aside>
	<?php endif; ?>	
	
	<?php
		/**
		 * woocommerce_before_main_content hook
		 *
		 * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
		 * @hooked woocommerce_breadcrumb - 20
		 */
		do_action( 'woocommerce_before_main_content' );
	?>
	<div id="main-content" class="<?php echo esc_attr($page_column_class['main_class']); ?>">	
		<div id="primary" class="site-content">
		<?php do_action( 'woocommerce_archive_description' ); ?>

		<?php if ( woocommerce_product_loop() ) : ?>
		
			<div class="before-loop-wrapper"><?php do_action( 'woocommerce_before_shop_loop' ); ?></div>
			
			<!-- Top Filter Widget Area -->
			<?php
			if( $show_top_filter_widget_area ){
				if( class_exists('WC_Widget_Layered_Nav_Filters') ){
					echo '<div class="ts-active-filters">';
					the_widget('WC_Widget_Layered_Nav_Filters', array('title' => esc_html__('Active filters:', 'yoome')));
					echo '</div>';
				}
				
				$filter_full_width = !($page_column_class['left_sidebar'] || $page_column_class['right_sidebar']);
				if( $filter_full_width ){
				?>
				<div class="vc_row wpb_row vc_row-fluid vc_column-gap-default loading" data-vc-full-width="true" data-vc-full-width-init="true">
				<?php } ?>
				
				<aside class="ts-sidebar top-filter-widget-area dropdown-filter" style="display: none">
					<?php dynamic_sidebar( 'top-filter-widget-area' ); ?>
				</aside>
				
				<?php if( $filter_full_width ){ ?>
				</div>
				<div class="vc_row-full-width"></div>
				<?php 
				}
			}
			?>
			
			<?php 
			global $woocommerce_loop;
			if( absint($theme_options['ts_prod_cat_columns']) > 0 ){
				$woocommerce_loop['columns'] = absint($theme_options['ts_prod_cat_columns']);
			}
			?>
			<div class="woocommerce columns-<?php echo esc_attr($woocommerce_loop['columns']); ?>">
			<?php
			woocommerce_product_loop_start();

			if ( wc_get_loop_prop( 'total' ) ) {
				while ( have_posts() ){
					the_post();

					do_action( 'woocommerce_shop_loop' );
				
					wc_get_template_part( 'content', 'product' );
				}
			}

			woocommerce_product_loop_end();
			?>
			</div>
			
			<div class="after-loop-wrapper">
			<?php
				/**
				 * woocommerce_after_shop_loop hook
				 *
				 * @hooked woocommerce_pagination - 10
				 */
				do_action( 'woocommerce_after_shop_loop' );
			?>
			</div>
			
		<?php else: ?>

			<?php do_action( 'woocommerce_no_products_found' ); ?>

		<?php endif; ?>

	<?php
		/**
		 * woocommerce_after_main_content hook
		 *
		 * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
		 */
		do_action( 'woocommerce_after_main_content' );
	?>
		</div>
	</div>
	<!-- Right Sidebar -->
	<?php if( $page_column_class['right_sidebar'] ): ?>
		<aside id="right-sidebar" class="ts-sidebar <?php echo esc_attr($page_column_class['right_sidebar_class']); ?>">
		<?php 
		if( $show_sidebar_filter_widget_area ){
			echo '<section class="filter-widget-area">';
			echo '<div class="widget-title-wrapper"><a class="block-control" href="javascript:void(0)"></a><h3 class="widget-title heading-title">'.esc_html__('Shop filter', 'yoome').'</h3></div>';
			dynamic_sidebar( 'sidebar-filter-widget-area' );
			echo '</section>';
		}
		if( is_active_sidebar($theme_options['ts_prod_cat_right_sidebar']) ){
			dynamic_sidebar( $theme_options['ts_prod_cat_right_sidebar'] );
		}
		?>
		</aside>
	<?php endif; ?>	
	
</div>
<?php get_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit