woocommerce/templates/product_taxonomy.php

19 lines
652 B
PHP
Raw Normal View History

2011-08-09 15:16:18 +00:00
<?php get_header('shop'); ?>
2011-08-10 17:11:11 +00:00
<?php do_action('woocommerce_before_main_content'); // <div id="container"><div id="content" role="main"> ?>
2011-08-09 15:16:18 +00:00
<?php $term = get_term_by( 'slug', get_query_var($wp_query->query_vars['taxonomy']), $wp_query->query_vars['taxonomy']); ?>
<h1 class="page-title"><?php echo wptexturize($term->name); ?></h1>
<?php echo wpautop(wptexturize($term->description)); ?>
2011-08-10 17:11:11 +00:00
<?php woocommerce_get_template_part( 'loop', 'shop' ); ?>
2011-08-09 15:16:18 +00:00
2011-08-10 17:11:11 +00:00
<?php do_action('woocommerce_pagination'); ?>
2011-08-09 15:16:18 +00:00
2011-08-10 17:11:11 +00:00
<?php do_action('woocommerce_after_main_content'); // </div></div> ?>
2011-08-09 15:16:18 +00:00
<?php do_action('woocommerce_sidebar'); ?>
2011-08-09 15:16:18 +00:00
<?php get_footer('shop'); ?>