Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

Thanks

share|improve this question
1  
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
add comment

1 Answer 1

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
1  
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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