Skip to:

Re: Sitewide search

Burt Adsit


This site wide search issue is interesting. Everyone wants something different. I need to have content search like Mike. I also need to have all content site wide aggregated into categories and tags. Cross all blogs on the site. I’ve implemented this by installing donncha’s site wide tags plugin. Any post by any user on any blog goes to the ‘tags’ blog where they all live. This is my community blog.

I had to turn off the activity component in bp to get this though. Currently those two confilict.

Now searching the community blog searches all blog content except pages. It’s very nice because when you find a post that interests you on the community blog you get redirected to the source of the article. You wind up on the blog where the article actually lives.

Mike, I see your problem. The bp search is designed to find things in bp. Not content on a blog. Hmmm. The standard wp way of searching blog content is somehow integrating the searchform.php into your theme. Check out any theme that has a search box. It usually loads up searchform.php. When the user enters in a search term wp goes out and uses search.php template to display the results.

Check out the wpmu default theme. It makes a call to get_search_form() where it wants to display searchform.php.

Skip to toolbar