You can’t achieve this easily with WP’s built-in search system. Even if you managed to build a complicated query that pulls data from the user table, it would be incredibly slow.
Search Unleashed had this functionality, but I’m not sure about compatibility with WP 3.2.
I used it in the past as inspiration to add better search functionality on my site. Basically it gathers data on content publishing hooks, which then gets indexed and stored somewhere for faster accessing, for example a custom db table, or in special files if you’re using the Lucene search engine.
If you really want to go the WP way, see this question. You need to join $wpdb->users on post_author.
Related Posts:
- How to add the author search in the default wordpress search?
- Display posts from an author using search parameters (not author template/query_posts)
- Is it possible to search authors by profile field?
- WordPress does not find author pages in search
- How can I include author (their archive page) in search results?
- Restrict Search Results to Post Author
- Search is always exact [closed]
- Empty search returns home page, how to return not found search page?
- How to look at code in WordPress repositories without downloading?
- Display search results within the same page
- Search in WordPress – Difference of searchpage.php, searchform.php and search.php?
- How do I redirect /search/ to wordpress search template?
- Exclude top-level pages from search results
- Search in non-English language returns only one result
- How to use next_post_link and previous_post_link on single posts in search results
- Why is there a class=”screen-reader-text” on my search button?
- How can I implement faceted search with WordPress 3.x?
- Change the Search Base in a multi language wordpress
- Force WP to use a certain search template
- Search results URL without query string variables
- How to control WordPress Search Behavior?
- Get the selected term in a dropdown search
- Separating search results collectively by type
- Changing the search results destination URL
- Noindex, nofollow stuck on homepage
- Is_search not working on search results page
- Making a list of post tags in string
- Strange Search Queries in Apache Status
- Best way to Integrate Google Search?
- WP_User_Query search with multiple search queries
- update default search function and get postmeta entries
- Need to do blank search.
- Combine internal search with Google custom search?
- Any reason why search result lists only one entry?
- Search function works improperly
- Is there a wordpress plugin enabling an autocomplete search box, then jump to page?
- Date_query problems
- Need to return a list based on Slug
- Meta query: How do I return posts within a date period from a given month?
- Using parent slug variable to display proper submenu not working properly
- Get Adjacent post by search query
- How to exclude pages from WP search based on page title
- why pre_get_posts works fine in post type archive, but not in search result list?
- How to get started?
- Search.php display results differently based on post type
- Search – Only search for post meta field
- Improved WordPress search functionality and search form plugin
- Use wordpress search to display results within a post
- How to query two meta fields and display results between them
- how to search everything
- changing search result from only excerpt to full content
- Cannot pass ‘S’ parameter more than two letters
- Localization of WP theme
- How to have multiple instances of the same taxonomy in a search form
- WP + Google analytics = /search?
- Search result count not matching actual result
- How to search for post content and attached file names
- Search engine for WP as CMS [closed]
- Searching for one letter returns extra empty post
- How to create a search form with multiple search fields
- REST API: Search products only in the names
- Bots using internal wordpress search
- WordPress search – Display the paragraph which has the searched word/term
- Altering search results to handle a post meta field not working in current WordPress
- WordPress Search by tags
- WordPress search post using unicode
- Search results are showing full page instead of sample
- Create search box on Archive Custom post type
- How to pass variable to get_search_form()?
- Why the search results are wrong in search posts form?
- Search isn’t displaying all results
- How to use regular page template for search results?
- Search only blog posts on blog page
- Search: display all found matches inside post
- Auto search field without buttons, shows first result from search page
- Can I set up a search box that uses fields?
- How to Search Users on the Base of Latitude and Longitude in Users meta_key and meta_value
- Search.php Modification Needed
- Returning the entire line of a custom search result filter
- search does not yield access restricted results
- Customizing Home Page with Pagelines Platform
- Search Limited to Categories Not Working
- Google Search and Own Website Search?
- How we filter the search base on post-meta tags
- How to display articles based on composed tag
- Make search result returned only from tags! [duplicate]
- Form Data Causes “Page Not Found”
- Search query with quotes
- WordPress search form and input type=”image”
- Search options/filters
- Search Results with googlemaps
- How to search pdf attachment?
- Website Search Results Not Showing Images
- How to search for articles containing two words?
- Wp eCommerce meta information search [closed]
- Search results truncated
- “feed” added at the end of my URLs
- Disable – Post search field – for non-admin roles in WP dashboard
- Search results heading and counter not working – Oxygen Builder
- Blocking spambots from Search form