I would like to know how I can remove the sidebar for all pages, except one (my blog). I have figured out how to turn off the side bar via ‘customise’ for all pages, but I would still like to have it for my blog.
There’s a “Blog Sidebar Layout” in the Customize section, so you can use no sidebars for pages and single posts, but keep the sidebar in the Blog sidebar layout.
That will also make it so the sidebar is showing in categories and archives.
If you don’t want that, you can use a function.
First, set the page, blog and single sidebar layouts to have no sidebars.
That is great Tom, thank you so much! I have a second question. On my ‘home’ page I would like to add an image right below the menu bar (like what you have on generatepress.com) could you please explain how to do this? Or maybe direct me towards where I could find how to do this? I feel like I have to use one of the hooks, but I have no idea how to use them.