Community Forums › Forums › Archived Forums › Design Tips and Tricks › Add Sidebar to Single Post only – No Sidebar Theme
Tagged: Sidebar
- This topic has 7 replies, 2 voices, and was last updated 5 years ago by
AnitaC.
-
AuthorPosts
-
November 19, 2020 at 12:08 pm #501985
Nigel1985
ParticipantHow can I add a sidebar for the 'No Sidebar' theme? I would like to add a primary sidebar on the right side for Single Post entries only.
I did find the code to reverse the unregistration of the sidebar widgets and layouts but the layout does not appear as an option in the layout drop down.
//* Remove sidebars
unregister_sidebar( 'sidebar' );
unregister_sidebar( 'sidebar-alt' );//* Remove site layouts
http://add1tbsp.com
genesis_unregister_layout( 'content-sidebar' );
genesis_unregister_layout( 'sidebar-content' );
genesis_unregister_layout( 'content-sidebar-sidebar' );
genesis_unregister_layout( 'sidebar-content-sidebar' );
genesis_unregister_layout( 'sidebar-sidebar-content' );November 19, 2020 at 12:31 pm #501987AnitaC
KeymasterAre you using block editor? I see you're using a page builder on that site.
Need help with customization or troubleshooting? Reach out to me.
November 19, 2020 at 12:32 pm #501988Nigel1985
ParticipantI am using a Page Builder — shouldn't I just be able to select a different page layout?
November 19, 2020 at 12:35 pm #501989AnitaC
KeymasterThe location of the Layouts is in a different spot. If you're using Classic Editor, the Page Layout is at the bottom of below the editor on single pages/posts. If you're using Block Editor, you should select the little G top right corner and then you'll see the Layout selector. You should also be able to see the Layouts under Genesis > Theme Settings > Page Layouts.
Need help with customization or troubleshooting? Reach out to me.
November 19, 2020 at 1:36 pm #501990Nigel1985
ParticipantI am using Beaver Builder and creating a Themer Layout for single posts. I don't see to have those options.
November 19, 2020 at 1:45 pm #501993AnitaC
KeymasterDid you remove this:
unregister_sidebar( 'sidebar' );
and this:
genesis_unregister_layout( 'content-sidebar' );
from the functions.php file?
Need help with customization or troubleshooting? Reach out to me.
November 19, 2020 at 2:05 pm #501994Nigel1985
ParticipantYes, I did. I can select a diff layout if I create a new page but I can't seem to. select it when building a page using Beaver Builder.
November 19, 2020 at 5:56 pm #502003AnitaC
KeymasterCorrect, when you're using page builders some of them will deactivate certain things. I'd suggest joining the Beaver Builder group on Facebook and asking them there were they are more familiar with their product and how it works with your theme and Genesis. Especially since No Sidebar didn't include the sidebar.
Need help with customization or troubleshooting? Reach out to me.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.