Continue reading Free 3.3.6 / 3.3.7

Free 3.3.6 / 3.3.7

Relevanssi 3.3.6 was released on Friday, and today followed by 3.3.7. You can see the release notes of 3.3.6 below. 3.3.7 just fixes a new incompatibility with bbPress, probably triggered by WordPress 4.0 update. Relevanssi handles taxonomy terms in search better. The change requires a reindexing. Fix in indexing: Relevanssi will now bypass the global…

Read more Free 3.3.6 / 3.3.7 0 Comment on Free 3.3.6 / 3.3.7
Continue reading Different fuzzy search setting on different searches

Different fuzzy search setting on different searches

On one of our sites we have 2 search boxes, one where you can do a normal search and the other where you can search for employees or departments. The employees/department search is done by using the relevanssi_do_query() function. Can we use fuzzy matching on the normal search and disable it on the employees/department search?…

Read more Different fuzzy search setting on different searches 0 Comment on Different fuzzy search setting on different searches
Continue reading Indexing the post ID

Indexing the post ID

Are post ID’s searchable in Relevanssi? No. Relevanssi does understand the WP_Query p parameter to restrict the search by post ID. However, if you want to search by post ID, it’s very simple to make that happen using the relevanssi_content_to_index filter hook: Add that to theme functions.php, reindex and searching for post ID’s works. Originally…

Read more Indexing the post ID 2 Comments on Indexing the post ID
Continue reading How to index parent categories

How to index parent categories

Suppose you have a parent category with no products in it but a child category does. If you search by the parent category can relevanssi be set up to show the products in the child category? Cars > Wiper Blades. A search for cars shows wiper blade products. By default this does not work, because…

Read more How to index parent categories 3 Comments on How to index parent categories
Continue reading bbPress: Indexing topics and replies

bbPress: Indexing topics and replies

Relevanssi does work with BBPress. BBPress forums, topics and replies are regular WordPress posts. In order to get Relevanssi working with BBPress, you need to make Relevanssi index post type topic (forget forum, and I think it’s better if you skip reply as well). Since topic is non-public post type, you also need to uncheck…

Read more bbPress: Indexing topics and replies 6 Comments on bbPress: Indexing topics and replies
Continue reading Ordering search results by date

Ordering search results by date

I’m building a directory and would like the oldest posts to automatically display first in the search results, is this possible? I found out how to add a link that the user can click to sort the results but would like an automatic solution. Can you provide code that can be added to the functions.php…

Read more Ordering search results by date 3 Comments on Ordering search results by date
Continue reading Free 3.3.5 / Premium 1.12.1

Free 3.3.5 / Premium 1.12.1

Both free and Premium got updates today. The most important thing in these updates is the improved security: the MySQL queries should be safe now, with all inputs thoroughly escaped. Fixed a bug where excluding posts would cause the search to fail. WPML searches showed each result twice. That’s fixed. Increased plugin safety against hackers.…

Read more Free 3.3.5 / Premium 1.12.1 0 Comment on Free 3.3.5 / Premium 1.12.1
Continue reading The search form shortcode

The search form shortcode

Relevanssi includes a search form shortcode that can be used to display a search form. The shortcode is searchform and it was introduced in Relevanssi Premium 2.0 and Relevanssi 4.0. Adding query parameters This shortcode prints out a basic search form. If you want to add additional query parameters, that’s easy: just add parameters to…

Read more The search form shortcode 95 Comments on The search form shortcode