Archived topic
Sidebar and sections
3 replies · Started by Escobar on November 26, 2020
Is it posible to use right siderbar with sections on?
Thanks in advance.
Best regards.
Hi,
I'm not exactly sure what you mean.
To clarify: Do you want to insert sections to the sidebar?
If so, you can check David's reply here: https://generatepress.com/forums/topic/sidebar-4/#post-1503670
For now the only thing you can do with the Block Element is to set it to Hook and set it to
generate_before_right_sidebarorgenerate_after_right_sidebar– so it can be either at the Top or the Bottom only.
I have not explained well.
My homepage is made up of sections, and when I select the option to show the sidebar it doesn't appear.
That's why I don't know if the sections are activated I can't have a sidebar.
Best regards.
Oh right,
Yes that's right, using "sections" will disable the sidebar as mentioned in its documentation here:
https://docs.generatepress.com/article/sections-overview/
"Enabling Sections on the page will remove the default editor, and will also remove the sidebars from your page."
If you need the sidebar displayed, consider using GenerateBlocks' Container Block or Grid Block for content sections instead of the Sections module.