This tutorial provides 3 different methods which enable you to:
- Remove the default secondary sidebar
- Replace the secondary sidebar with a custom 2nd sidebar using code
- Replace the secondary sidebar with a sidebar created using the Genesis Simple Sidebars plugin
You can use this code in your functions file to remove and replace all instances of the secondary sidebar or add conditional tags to target specific pages and posts.
Here’s all 3 code snippets for logged in members: