Skip to content

Commit

Permalink
Add page template settings to WC sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
Misplon committed Jan 1, 2018
1 parent 14587fa commit 45ef339
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sidebar-shop.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

if ( siteorigin_setting( 'woocommerce_sidebar_position' ) == 'none' ) return;
if ( ! in_array( siteorigin_page_setting( 'layout', 'default' ), array( 'default', 'full-width-sidebar' ), true ) ) return;
?>

<div id="secondary" class="widget-area" aria-label="<?php esc_attr_e( 'Shop Sidebar', 'siteorigin-north' ); ?>">
Expand Down

0 comments on commit 45ef339

Please sign in to comment.