You know what information users should be seeing for the common searches on your site, but WordPress search engine has other ideas.
Spend few hours playing with the endless settings of search plugins that use fancy algorithms, but don't seem to do much other than slow down your site...
Specify search term for which you would like to control the results, then use the following features to curate the content displayed to your visitors.
Set number of search results for all searches, redirect the user for searches with result, and batch exclude content based on post type and taxonomy..
If you plan to add the PHP snippet to your theme, you can enter content in the editor window that will appear above the search results for the search term or its synonyms..
Special Search Set the primary term for which search results should be modified, the other words that should display the same results, and URL if you would like to redirect users to specific page rather than show search results.
Content from the editor for Special Search is displayed above results, and Pinned Results are displayed before any organic results..
If you would like to display content from WYSIWYG of Special Search at the top of the search results page, paste into the search php file of your theme below the header and above The Loop...
If you wish to display content from the editor on the search results for Special Searches, you need to place single line of PHP code in your search php file...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more