Read in:
Deutsch
Deutsch
This plugin lets you provide the user with search suggestions based on the information entered in the search field.
Description
It adds an AJAX call to the search form, returning matches for the current search query from the database. There is no change of template files necessary as this plugin hooks in the existing WordPress API to unfold its magic.
Translations
I will be more than happy to update the plugin with new locales, as soon as I receive them! Currently available in:
- English
- Deutsch
Installation
- Download WP Search Suggest.
- Unzip the folder into the
/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
Frequently Asked Questions
None asked yet.
Screenshots
Filter Reference
- wpss_search_query_args (array|string)
- The query args, passed to WP_Query, either as an array or a string.
An array with the default query args and the current search query are passed to the filter. - wpss_search_results (array)
- An array with the result strings as values. An array with the default results and the WP_Query object are passed to the filter.
Changelog
1.1
- Added filters so users can adjust the search query and displayed results to their needs (see Filter Reference)
- Fixed a bug where titles of unpublished posts were displayed
1.0
- Initial Release
Nice plugin. It show the suggestion as needed.
Hey,
I’m using a custom theme, and need to know how to integrate it into my search widget?
Thank you.
Hi Simon,
make sure your theme’s search input field has an
id="s"
and your form tag anid="searchform"
, as in Twenty Ten and Twenty Eleven. That should do the trick.Konstantin
Hey Konstantin,
as you can see on my page: http://oberstufe-kompakt.de its all set, but still doesn’t work?
Nice plugin, thanks. But there is one question, how to make search output items more than by default?
Thanks! 🙂
You can use the
'wpss_search_query_args'
and'wpss_search_results'
filters to alter that. For more information on that see:https://github.com/obenland/wp-search-suggest/blob/master/wp-search-suggest.php#L111
Hi Konstantin,
My name is Andrew, I am with WebHostingHub . We would like to translate your WP Google Suggest plugin that we found at http://en.wp.obenland.it/wp-search-suggest/ to Spanish language, no charge of course, to help people from Hispanic community better manage their websites.
Would that be ok with you?
I hope I’ll hear from you soon.
Kind regards
Andrew Kurtis
andrewk@webhostinghub.com
Sure
Hello,
Week ago I have asked for your permission to translate your WP Google Suggest plugin in Spanish and I didn’t hear any from you since. I hope that you will find time to provide the reply, because we believe that the translation would be of a great use.
All the best,
Andrew Kurtis
WebHostingHub
andrewk@webhostinghub.com
Hi Andrew,
I replied the same day, please see your comment above.
Thanks!