Continue reading Premium 2.2.3 / Free 4.1.2

Premium 2.2.3 / Free 4.1.2

2.2.3 adds a new Premium feature: redirects. This feature allows you to define keywords that will be automatically redirect the user to a certain page. While this feature is only available for Premium users, this update is still very much worth the while for the users of free Relevanssi. For starters, there’s a fix for…

Read more Premium 2.2.3 / Free 4.1.2 0 Comment on Premium 2.2.3 / Free 4.1.2
Continue reading Separating posts by post type

Separating posts by post type

Using the relevanssi_hits_filter, it’s easy to separate the search results by post type. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 add_filter(’relevanssi_hits_filter’, ‘separate_result_types’); function separate_result_types($hits) { $types = array(); $types[’mycustomtypethatgoesfirst’] = array(); $types[’thesecondmostimportanttype’] = array(); $types[’post’] = array(); $types[’page’] = array();   //…

Read more Separating posts by post type 28 Comments on Separating posts by post type