403Webshell
Server IP : 104.26.4.103  /  Your IP : 216.73.216.4
Web Server : nginx/1.27.1
System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
User : arabianexpress ( 1872)
PHP Version : 8.0.30
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /storage/v9321/leapdubai/public_html/wp-content/themes/printx/woocommerce/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /storage/v9321/leapdubai/public_html/wp-content/themes/printx/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
   */

defined( 'ABSPATH' ) || exit;

get_header( 'shop' );

$product_column = is_active_sidebar( 'product-sidebar' ) ? 8 : 12;

/**
 * Hook: woocommerce_before_main_content.
   *
   * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
   * @hooked woocommerce_breadcrumb - 20
   * @hooked WC_Structured_Data::generate_website_data() - 30
   */
do_action( 'woocommerce_before_main_content' );

?>
<div class="row">
      <?php if ( is_active_sidebar( 'product-sidebar' ) ): ?>
         <div class="col-lg-4">
            <div class="tp-shop-left-box">
               <?php dynamic_sidebar('product-sidebar');?>
            </div>
         </div>
      <?php endif; ?>
   <div class="col-lg-<?php echo esc_attr($product_column); ?>">


      <?php
      if ( woocommerce_product_loop() ) {
         ?>

         <div class="tp-shop-listing d-flex flex-wrap align-items-center mb-40 justify-content-between">
            <?php
            /**
             * Hook: woocommerce_before_shop_loop.
               *
               * @hooked woocommerce_output_all_notices - 10
               * @hooked woocommerce_result_count - 20
               * @hooked woocommerce_catalog_ordering - 30
               */
            do_action( 'woocommerce_before_shop_loop' );
            ?>
            <div class="tp-shop-listing-popup">
               <div class="tp-shop-from">
                  <?php woocommerce_catalog_ordering();?>
               </div>
            </div> 
         </div>

         <?php ?>

         <div class="tp-shop-item-wrapper">
            <?php woocommerce_product_loop_start();
               if ( wc_get_loop_prop( 'total' ) ) {
                  while ( have_posts() ) {
                     the_post(); ?>

                     <?php

                     /**
                      * Hook: woocommerce_shop_loop.
                     */
                     do_action( 'woocommerce_shop_loop' );

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

               woocommerce_product_loop_end(); 
            ?>

            <?php
               /**
                * Hook: woocommerce_after_shop_loop.
               *
               * @hooked woocommerce_pagination - 10
               */
               do_action( 'woocommerce_after_shop_loop' );
            ?>
         </div>

            <?php   
      } else {
         /**
          * Hook: woocommerce_no_products_found.
          *
          * @hooked wc_no_products_found - 10
          */
         do_action( 'woocommerce_no_products_found' );
      }
      ?>
   </div>


      <?php
      /**
       * Hook: woocommerce_after_main_content.
         *
         * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
         */
      do_action( 'woocommerce_after_main_content' );

      
      ?>
</div>
<?php
get_footer( 'shop' );

Youez - 2016 - github.com/yon3zu
LinuXploit