- This topic has 9 replies, 3 voices, and was last updated 2 years, 11 months ago by
Ying.
-
AuthorPosts
-
March 28, 2023 at 7:11 am #2585579
Grant
Hello,
I just updated this page on my website with some WP-Show-Posts code. An unwanted search bar and archives widget showed up and I can’t work out why they did.
I have checked the existing widgets for the side bar, footer etc. and there is nothing to be found. I also checked the custom CSS and cannot find anything.
Please could you take a look and let me know how to remove them?
Thank you,
GrantMarch 28, 2023 at 8:05 am #2585765David
StaffCustomer SupportHi there,
do you want a left sidebar?
If you do, add your own widget to it, and the automatically displayed widgets will be replaced.
If you do not, then disable the sidebar in the Customizer > Layout > Sidebars.March 28, 2023 at 8:35 am #2585822Grant
Hi David,
Thanks for the quick reply. I don’t want the sidebar and already had it disabled. See here
. Weirdly, it is only on this page that it shows.
March 28, 2023 at 8:43 am #2585831David
StaffCustomer SupportIf you edit that page, check the Layout Meta box:
https://docs.generatepress.com/article/sidebar-layout/
To make sure it has not been set to show a sidebar
March 28, 2023 at 9:19 am #2585894Grant
Thanks, David. It was set to show a left sidebar. I updated everything to “default” and then tried no “sidebars”. But for some reason it keeps reverting back to showing the left side bar. Is there anything else I might try?
March 28, 2023 at 10:16 am #2585979Ying
StaffCustomer SupportFirst, make sure the layout metabox in the page editor is set to default.
Then check if there’s a layout element at appearance > elements.
If so, does the layout element set the page/pages to have a left sidebar?
March 28, 2023 at 1:08 pm #2586183Grant
Hi again,
It seems that the page was created with Sections. When I activated Sections, the layout issue / sidebar disappeared. Please could you explain why this happened?
As a follow-on question, is it possible to add a shortcode to Sections?
Thank you,
Grant
March 28, 2023 at 3:08 pm #2586264Ying
StaffCustomer SupportHi Grant,
The sections module is a very very old legacy module, it’s to create full-width layout.
If your site is created with sections, make sure the sections module is activated.
Or you can try rebuilding your site using the modern way: blocks!
March 29, 2023 at 2:13 am #2586778Grant
Thanks, Ying. Somehow it is only this page that is built with sections. 🙂 Thanks for the help and info!
March 29, 2023 at 9:51 am #2587520Ying
StaffCustomer SupportNo problem 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.