WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any wordpress plugin to search for people's names in the database? If i have a column 'name' , i need to provide search functionality over it, give all the matching results for that column. Sentence completion would be even better. I am no PHP programmer. Any help is greatly appreciated.


share|improve this question

closed as off-topic by birgire, gmazzap, Johannes Pille, Joshua Abenazer, ialocin Aug 8 '14 at 21:09

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

Not sure what you're asking for here. We need to know which table contains the column you're speaking about. This will help determine if you can use native WP functions or if you need to use Wordpress Database Class. – Brian Fegter Oct 26 '11 at 12:45
I created a new table called users which has user name, address.. need to provide a 'search by name' functionality on that table, people should be able to search users.Thanks – KaKa Oct 26 '11 at 15:41

There's a separate Class as DB layer for this: The WP User Query Class.

If you want to extend the search functionality, a possible option is to alter the query before you output the results on your search.php template. There's a tutorial/how-to over here.

If you need additional fields for your users, you can extend the profile easily. See here for a tutorial.

share|improve this answer
Thanks Kaiser.. Is there any way without writing any php? something which is plug and play? – KaKa Oct 27 '11 at 1:52
You really need to hire a developer if you want custom functionality without any sort of coding. – Brian Fegter Oct 27 '11 at 12:43
I have to double @BrianFegter comment. – kaiser Oct 27 '11 at 13:38
@KaKa Btw: Have you already searched the official repository? – kaiser Oct 27 '11 at 13:38

Not the answer you're looking for? Browse other questions tagged or ask your own question.