Tagged: search, search results
Where can I make change to the search results page? Currently only the posts show a summary and regular pages and portfolio items do not. Also, how do I set the sidebar on the search results page? I actually would like the option to not display one. Finally, when you use the search in the top banner, there is a nice type-ahead feature that displays results as you type. Is there a way to change “Portfolio items” text to something else? I use “portfolio” to showcase partners in our initiatives, so it would be better to say “Partners” instead.
Thanks
Hi sbeauchesne!
1) You can use this plugin to maximize the search power of your website: SearchWP
Refer to this link in order to integrate the plugin on ajax search: http://kriesi.at/documentation/enfold/use-searchwp-instead-of-the-standard-search/
2) You can hide the sidebar with following css code – insert it into the quick css field
#top.search .sidebar {display: none !important;}
#top.search .content.template-search {width: 100% !important;}
3) Yes, insert this code at the very bottom of functions.php:
add_filter('avf_ajax_search_label_names','avia_change_pt_label_name', 10, 1);
function avia_change_pt_label_name($label)
{
if($label == 'Portfolio Items') $label = 'Partners';
return $label;
}
Best regards,
Peter
Thanks Peter. Great suggestion with SearchWP. Works nicely. The code for functions.php also worked like a charm.
You guys always provide the best support!