[wp-hackers] Modify search function?

Paul Menard paul at codehooligans.com
Wed Aug 15 21:11:19 GMT 2007


Well I would try downloading and reading through the code used by the  
Search Everything plugin. I don't think it will solve your desire to  
search dual sites but it will provide some insight into the search  
hooks used. Then you can add your own functions.

http://wordpress.org/extend/plugins/search-everything/

Paul


On Aug 15, 2007, at 4:04 PM, Stephen Rider wrote:

> Hi --
>
> I'm trying to work out a system (possibly a plugin) that will allow  
> a certain amount of cross-over between two different blogs in the  
> same database (that is, different table-prefixes).
>
> The two things I'm aiming for are the ability to Search both blogs  
> in one search, and the ability for one blog to see the "Pages" list  
> of the other.  (Maybe also to pull up a combined list of Pages from  
> both blogs.)
>
> I'm well on the way to the cross-pages list, but completely  
> flummoxed with the Search.
>
> Can somebody tell me where to find the actual function that runs  
> the "Search" box?  I would like to make modifications to it, but  
> I'm puzzled as to the function that actually goes to the database  
> and returns results.
>
> Overall, any info or tips that might assist would be appreciated.
>
> Thanks!
>
> Stephen
>
>
> -- 
> Stephen Rider
> <http://striderweb.com/>
>
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list