Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /var/www/web432/html/wp-content/themes/touchm/woocommerce/ |
Current File : //var/www/web432/html/wp-content/themes/touchm/woocommerce/archive-product.php |
<?php /** * The Template for displaying product archives, including the main shop page which is a post type archive. * * Override this template by copying it to yourtheme/woocommerce/archive-product.php * * @author WooThemes * @package WooCommerce/Templates * @version 1.6.4 */ get_header('shop'); ?> <?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'); $shop_id = get_option('woocommerce_shop_page_id'); $custom = get_post_custom($shop_id); $layout = isset ($custom['_page_layout']) ? $custom['_page_layout'][0] : '1'; ?> <div class="container region4wrap"> <div class="row maincontent"> <div class="twelve columns"> <div class="page_title"> <div class="row"> <div class="twelve columns"> <h1> <?php if ( is_search() ) : ?> <?php printf( __( 'Search Results: “%s”', 'woocommerce' ), get_search_query() ); if ( get_query_var( 'paged' ) ) printf( __( ' – Page %s', 'woocommerce' ), get_query_var( 'paged' ) ); ?> <?php elseif ( is_tax() ) : ?> <?php echo single_term_title( "", false ); ?> <?php else : ?> <?php $shop_page = get_post( woocommerce_get_page_id( 'shop' ) ); echo apply_filters( 'the_title', ( $shop_page_title = get_option( 'woocommerce_shop_page_title' ) ) ? $shop_page_title : $shop_page->post_title ); ?> <?php endif; ?> </h1> </div> </div> </div> </div> <?php if ($layout == '3'):?> <div class="four columns sidebar-left"><?php do_action('woocommerce_sidebar'); ?></div> <?php endif?> <div class="<?php echo $layout == '1' ? 'twelve' : 'eight'?> columns"> <?php do_action( 'woocommerce_archive_description' ); ?> <?php if ( is_tax() ) : ?> <?php do_action( 'woocommerce_taxonomy_archive_description' ); ?> <?php elseif ( ! empty( $shop_page ) && is_object( $shop_page ) ) : ?> <?php do_action( 'woocommerce_product_archive_description', $shop_page ); ?> <?php endif; ?> <?php if ( have_posts() ) : ?> <?php do_action('woocommerce_before_shop_loop'); ?> <div class="products products-listing row"> <?php woocommerce_product_subcategories(); ?> <?php while ( have_posts() ) : the_post(); ?> <?php woocommerce_get_template_part( 'content', 'product' ); ?> <?php endwhile; // end of the loop. ?> </div> <?php do_action('woocommerce_after_shop_loop'); ?> <?php else : ?> <?php if ( ! woocommerce_product_subcategories( array( 'before' => '<ul class="products">', 'after' => '</ul>' ) ) ) : ?> <p><?php _e( 'No products found which match your selection.', 'woocommerce' ); ?></p> <?php endif; ?> <?php endif; ?> <div class="clear"></div> <?php /** * woocommerce_pagination hook * * @hooked woocommerce_pagination - 10 * @hooked woocommerce_catalog_ordering - 20 */ do_action( 'woocommerce_pagination' ); ?> </div> <?php if ($layout == '2'):?> <div class="four columns sidebar-right"><?php do_action('woocommerce_sidebar'); ?></div> <?php endif?> </div> </div> <?php get_footer('shop'); ?>
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare