-
Notifications
You must be signed in to change notification settings - Fork 0
/
woocommerce.php
34 lines (20 loc) · 1.23 KB
/
woocommerce.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php get_header(); // Loads the header.php template. ?>
<div class="column-container">
<main <?php hybrid_attr( 'content' ); ?>>
<?php if ( ! is_front_page() && hybrid_is_plural() ) : // If viewing a multi-post page
//locate_template( array( 'misc/archive-header.php' ), true ); // Loads the misc/archive-header.php template.
endif; // End check for multi-post page.
//if ( have_posts() ) : // Checks if any posts were found.
//hybrid_get_content_template(); // Loads the content/*.php template.
//add_filter( 'woocommerce_show_page_title', '__return_false' );
//remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
//remove_action( 'woocommerce_archive_description', 'woocommerce_product_archive_description', 10 );
//remove_action( 'woocommerce_after_shop_loop', 'woocommerce_pagination', 10 );
woocommerce_content();
locate_template( array( 'misc/loop-nav.php' ), true ); // Loads the misc/loop-nav.php template.
//else : // If no posts were found.
//locate_template( array( 'content/error.php' ), true ); // Loads the content/error.php template.
//endif; // End check for posts.
?>
</main><!-- #content -->
<?php get_footer(); // Loads the footer.php template. ?>