esc_html__( 'Shop Sidebar', 'bakes-and-cakes' ),
'id' => 'shop-sidebar',
'description' => esc_html__( 'Sidebar displaying only in woocommerce pages.', 'bakes-and-cakes' ),
'before_widget' => '',
'before_title' => '
',
) );
}
/**
* Before Content
* Wraps all WooCommerce content in wrappers which match the theme markup
*/
function bakes_and_cakes_wc_wrapper(){
?>
';
dynamic_sidebar( 'shop-sidebar' );
echo '';
}
}
add_filter( 'woocommerce_show_page_title' , 'bakes_and_cakes_woo_hide_page_title' );
/**
* bakes_and_cakes_woo_hide_page_title
*
* Removes the "shop" title on the main shop page
*
* @access public
* @since 1.0
* @return void
*/
function bakes_and_cakes_woo_hide_page_title() {
return false;
}