Site logo

Archived topic

Disable search widget

9 replies · Started by Pieter on December 7, 2017

Viewing posts 1–10 of 10

I think this is more a general question about the search widget (and also archive widget).

If there are none widgets in the right sidebar, by default Wordpress shows the search widget and archive widget?

I have a site with different category pages. On one page (Tutorials) I don't want any widget been shown. I use a plugin to disable the widgets on that category page, but it still shows the search and archive widget...

So maybe I have to ask the plugin developer, but for my understanding is it correct that the search and archive widget is always shown, unless nothing is in the right sidebar?

Hi there,

That's actually a GP default which we might change in the future.

They are there to fill the space when sidebar layout is selected but no widgets added.

We can use CSS to hide the sidebar on the page you don't want it though. Can you link me to it?

Thanks!

Hi Leo,

Ok, thought it was WP default :-)

This is the category page in wich I don't want to show sidebars.

FYI this is a category page with sidebars and they has to be on this category.

Thanks!

Hi Leo,

Thanks this is great. Is used the solution with the function, because with css the space of the sidebar is still there, but I wan't it to be over the whole width of the content.

Thanks again!

Hi Pete, yeah I know. Tried some, but the still showed the search and archive page, unless I stated them to be not visible...

Sometimes I just insert a blank text widget

Ok, but I don't want the whole sidebar to display, so the solutions from Leo worked for me.
But thanks for your solution and maybe for future projects it will be helpfull :-)

Glad I could help!

This archived topic is closed to new replies.