diff --git a/changelog.txt b/changelog.txt index d4b26473..16465e6c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,8 @@ == Changelog == += 1.4 - 28 December 2017 = +* Added WooCommerce sidebar widget area and theme setting. + = 1.3.25 - 14 December 2017 = * Resolved WooCommerce PayPal logo issue impacting child themes. diff --git a/functions.php b/functions.php index edf8d39a..3144c1cc 100644 --- a/functions.php +++ b/functions.php @@ -220,6 +220,18 @@ function siteorigin_north_widgets_init() { 'after_title' => '', ) ); + if ( function_exists( 'is_woocommerce' ) ) { + register_sidebar( array( + 'name' => esc_html__( 'Shop Sidebar', 'siteorigin-north' ), + 'id' => 'sidebar-shop', + 'description' => esc_html__( 'Displays on WooCommerce pages.', 'siteorigin-north' ), + 'before_widget' => '', + 'before_title' => '