I've added the Genesis Simple Sidebar plugin to my site, and created a new sidebar, which I want to display on all my shop and product pages. Is there a way to automatically set to that sidebar when creating a new product? ... and along similar lines, is there a way to specify a specific secondary navigation (using the Genesis Simple Menus plugin) for the same pages?Scenario: The following plugins are active:
- Genesis Connect for WooCommerce
- Genesis Simple Sidebars
It is possible to use WooSidebars instead of Genesis Simple Sidebars to create and assign a custom sidebar to WooCommerce and many other sections of WordPress site w/o writing code like the one below.In a function hooked to
get_headerat a priority higher than 11 (set in wp-content/plugins/genesis-connect-woocommerce/sp-plugins-integration/genesis-simple-sidebars.php) we can remove the default sidebar and instead display our custom sidebar created via Genesis Simple Sidebars. Add the following in child theme's functions.php:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.