Browsing Tag

relevanssi

Group search results by post_type - Relevanssi

Using the Relevanssi (v3.3.5) search plugin on WordPress (v3.9.1) I can group search results by post_type. Example: add_filter('relevanssi_hits_filter', 'products_first'); function products_first($hits) { $types = array();

Back to Top 134592 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising