If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
February 9, 2013 at 12:49 am #20218
Hi- I for some reason have ended up with a secondary search bar in my main content area- how can I remove?February 9, 2013 at 8:23 am #106719
Probably you added the search form code ( http://codex.wordpress.org/Function_Reference/get_search_form ) to one of your template files? I’d download all theme files from the server (use ftp) and then search for the get_search_form function in all theme files. If you’ve found it locate the redundant code and delete it. Afterwards upload the modified theme files again.February 15, 2013 at 12:04 am #106720
so I can’t just find it in my editor? – sorry I’m learning wordpress- and not the best with css and html. I’ve also made other changes so I’m scarred that I’ll mess something else up.February 15, 2013 at 5:40 am #106721
Can you tell us what page has that sidebar in the main content area (or you can post a link specifically to that page). It could be inside one of the following files:
IsmaelFebruary 20, 2013 at 12:34 am #106722
thank you for your help. so basically all pages except for the home has 2 search bars- I just need the one at the very top like the home.: http://x-bility.com/sample-page/ I’ll took to see if I can find it too.February 20, 2013 at 12:41 am #106723February 20, 2013 at 5:02 am #106725February 20, 2013 at 5:30 am #106726
Inside your WP Dashboard, go to Appearance > Widgets. On the right side, check Search (widget) in Displayed Everywhere and Sidebar Pages, remove Search if you can find it there.
IsmaelFebruary 21, 2013 at 3:48 am #106727
wow- can’t believe it was that obvious! thanks- allthough now for some reason I have all the other sidebar items there- that I don’t want.February 21, 2013 at 6:50 am #106728
By default, if no widget has been set inside the widget areas (like Displayed Everywhere and Sidebar Pages), the default widgets will appear.
IsmaelFebruary 21, 2013 at 6:04 pm #106729
ok- so what do you suggest to keep it blank? is there a blank widget- or something like that?February 21, 2013 at 6:07 pm #106730February 22, 2013 at 4:22 am #106731
The topic ‘2 search bars’ is closed to new replies.