Add a custom database table to the wordpress search

I have a custom database table for a plugin I wrote for wordpress. Now I want to integrate this table into the wordpress search, since yet the wordpress search shows me just results for the data entered via the core CMS of course.

Preferably I would like to avoid altering the WP core to make this possible.

So is there any way to make this possible or do I have to write my own search function to search and display results for this custom table data?

Answers


This absolute answer for this, would be pretty custom, depending on what you want to do. But if you understand SQL and databases, this article would be very useful.

http://codex.wordpress.org/Function_Reference/wpdb_Class


Need Your Help

for loop in multiselect not called first time javascript/jquery

javascript jquery foreach scope multi-select

I have a multiselect dependency where I display cities and their areas respectively.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.