If you’re selling from your WordPress site using Woocommerce, you might want to add an additional nav menu which only displays on WooCommerce related pages.
This code, enables you to:
- Control which WooCommerce pages the menu displays on.
- Determine which location on the page you want the menu positioned using genesis hooks.
- Exclude or include specific pages.
Simply add the following PHP code to the end of your child themes functions file using a code editor: