forked from Fruitfulcode/Fruitful
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar-shop.php
27 lines (25 loc) · 980 Bytes
/
sidebar-shop.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
<?php
/**
* The Shop Sidebar containing Widget areas for Shop Page.
*
* @package WordPress
* @subpackage Fruitful theme
* @since Fruitful theme 1.0
*/
?>
<div id="secondary" class="widget-area" role="complementary">
<?php do_action( 'before_sidebar' ); ?>
<?php if ( ! dynamic_sidebar( 'sidebar-5' ) ) : ?>
<aside id="woocommerce_product_search-2" class="widget woocommerce widget_product_search">
<h3 class="widget-title"><?php _e('Search Products', 'fruitful'); ?></h3>
<?php get_product_search_form(); ?>
</aside>
<aside id="woocommerce_product_categories-4" class="widget woocommerce widget_product_categories">
<h3 class="widget-title"><?php _e('Product Categories', 'fruitful'); ?></h3>
<?php
$args = array('hierarchical' => true);
the_widget('WC_Widget_Product_Categories', $args);
?>
</aside>
<?php endif; // end sidebar widget area ?>
</div><!-- #secondary .widget-area -->