Continue reading Premium 1.16.1 / Free 3.6.1

Premium 1.16.1 / Free 3.6.1

I was told today that there is a security vulnerability in Relevanssi. It is possible to set the post type and taxonomy weights to values that are not numbers, and those values will be inserted into SQL queries, making SQL injection possible. However, it requires either admin access to WordPress dashboard or direct access to…

Read more Premium 1.16.1 / Free 3.6.1 0 Comment on Premium 1.16.1 / Free 3.6.1
Continue reading Premium 1.16.0.1 release notes

Premium 1.16.0.1 release notes

Version 1.16.0.1 is a small fix that tackles couple of issues 1.16.0 had in multisite environment. This is a recommended upgrade if you’re running a multisite, but if you’re on a single site system, it’s not necessary to update. Fixes “unknown column” issues in multisite searches. Removes errors when trying to search a multisite subsite…

Read more Premium 1.16.0.1 release notes 0 Comment on Premium 1.16.0.1 release notes
Continue reading Premium 1.16.0 / Free 3.6.0 release notes

Premium 1.16.0 / Free 3.6.0 release notes

Versions 1.16.0 and 3.6.0 have a new major version number, because these versions change how Relevanssi attaches itself to queries. In my tests, this hasn’t affected how Relevanssi works, but it is possible that especially in unusual use cases this may cause problems. On the upside, this change should reduce the number of compatibility issues…

Read more Premium 1.16.0 / Free 3.6.0 release notes 0 Comment on Premium 1.16.0 / Free 3.6.0 release notes
Continue reading Showing only one recurring event

Showing only one recurring event

Some event calendar plugins do recurring events by creating many posts. That’s fine, until those cloned posts fill up your search results. This function, added to your theme functions.php, will only show one of each post with the same title, and will take the one with the first date. The date is checked from _EventStartDate…

Read more Showing only one recurring event 2 Comments on Showing only one recurring event
Continue reading Indexing product variation SKUs for main product

Indexing product variation SKUs for main product

Relevanssi can index product and product variation SKUs for WooCommerce products: just add _sku to list of custom fields to index. However, if you want to find the main product when searching for the product variation SKU, you need some extra code. Just add this function to the theme functions.php and rebuild the index: add_filter(’relevanssi_content_to_index’,…

Read more Indexing product variation SKUs for main product 0 Comment on Indexing product variation SKUs for main product
Continue reading Scroll result page to the search term

Scroll result page to the search term

Relevanssi can highlight search terms on the posts (which is a feature I generally don’t recommend, as it may lead to some compatibility issues). But how about scrolling the page to show the location where the search results are? That is also possible. It requires a bit of JavaScript on the post page. This script…

Read more Scroll result page to the search term 3 Comments on Scroll result page to the search term
Continue reading Premium 1.15.4 / Free 3.5.12

Premium 1.15.4 / Free 3.5.12

Both Relevanssi Premium and the free version have been updated. Both version include a update to the taxonomy query handling. Previous versions couldn’t handle nested tax_queries properly. That works now. There were also some issues with the post type exclusion: it didn’t work quite as expected. Premium version also includes a significant performance improvement on…

Read more Premium 1.15.4 / Free 3.5.12 0 Comment on Premium 1.15.4 / Free 3.5.12
Continue reading Premium 1.15.3.1 / Free 3.5.11.1

Premium 1.15.3.1 / Free 3.5.11.1

Relevanssi Premium 1.15.3.1 and free 3.5.11.1 are minor bug fix releases. They fix a notice about an undefined variable in 1.15.3 or 3.5.11 – nothing to worry about, but if you’ve got debug mode enabled, you’d see an error message in most searches. This version also adds two new filters that let you disable one-letter searches,…

Read more Premium 1.15.3.1 / Free 3.5.11.1 0 Comment on Premium 1.15.3.1 / Free 3.5.11.1
Continue reading Private custom fields

Private custom fields

I use private custom fields. I want to index them in the administration but not on the public site. How to do ? Initially this seems impossible to do with Relevanssi, but it’s possible. Doing this requires Relevanssi Premium. The free version doesn’t know which custom field matches the search term, it just knows some custom…

Read more Private custom fields 0 Comment on Private custom fields