I’d like to remove the default side bar that appears when a search is performed that is related to posts, archive, catagory, tag etc.
Sorry, I’d like to replace the default sidebar widgets in the above with my own selection, is this possible?
you can use Widget logic: http://wordpress.org/plugins/widget-logic/ to show or hide widgets with conditionals. Eg the is_archive() conditional will be true on archive pages, the is_search() conditional will be true search pages. Afaik it’s not easily possible to show/hide widgets based on the user search because this would require some coding (eg a function which checks the user input and based on the search terms it displays certain widgets).
Thanks Dude, the widget looks great but my head hurts looking at all the WP code stuff, I’m not that hot on coding and I’m scared I might destroy everything! Looking at widget logic, if I just wanted to exclude widgets on the search page for posts what do you think I could try?
Just to make sure I’m looking at the right search result page you can conduct a search using the Areas of Law drop down here – http://www.northeastbarristers.com/homepage
Thanks in advance, and if i’m in Vienna any time soon I’ll get you a beer. :)
The topic ‘REMOVE DEFAULT SIDEBAR IN ARCHIVE / CATAGORY OR TAG SEARCH’ is closed to new replies.