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 numeric, and those values will be inserted into SQL queries, making SQL injection possible. However, it requires either admin access to the WordPress dashboard or direct access…

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

Premium 1.16.0.1

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 0 Comment on Premium 1.16.0.1
Continue reading Premium 1.16.0 / Free 3.6.0

Premium 1.16.0 / Free 3.6.0

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 0 Comment on Premium 1.16.0 / Free 3.6.0
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 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 custom field, but it’s easy…

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

WooCommerce: 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 using the relevanssi_content_to_index filter hook. Add this function to your site and rebuild…

Read more WooCommerce: Indexing product variation SKUs for main product 16 Comments on WooCommerce: 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. 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 needs to run on the post page: The easiest way is to just add this to…

Read more Scroll result page to the search term 11 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 Indexing private custom fields for admins only

Indexing private custom fields for admins only

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 Indexing private custom fields for admins only 0 Comment on Indexing private custom fields for admins only
Continue reading Premium 1.15.3

Premium 1.15.3

Relevanssi Premium 1.15.3 fixes many bugs and improves Relevanssi behaviour in many cases. Indexing taxonomy terms is further improved, as is highlighting HTML tags. A fairly big change is how Relevanssi handles taxonomy terms and user profiles when a post type parameter is used. Previously setting a post type parameter didn’t exclude taxonomy terms and…

Read more Premium 1.15.3 0 Comment on Premium 1.15.3