Continue reading Premium 2.27 / Free 4.24 release notes

Premium 2.27 / Free 4.24 release notes

This version adds a new feature for Premium users that lets you filter user search logs based on the search form. Just tag your search forms with an extra query parameter, and you can see which searches came from which form. There are also many small bug fixes. 2.27.4 / 4.24.3 2.27.3 2.27.2 / 4.24.2…

Read more Premium 2.27 / Free 4.24 release notes 0 Comment on Premium 2.27 / Free 4.24 release notes
Continue reading Premium 2.26 / Free 4.23 release notes

Premium 2.26 / Free 4.23 release notes

This version includes bug fixes, small quality-of-life improvements, and a small security fix. In earlier versions, Relevanssi included password-protected posts in the search results. This can be used to glean information about the posts’ contents. Since I know some people will still need this functionality, the old behaviour can be enabled with a filter function.…

Read more Premium 2.26 / Free 4.23 release notes 0 Comment on Premium 2.26 / Free 4.23 release notes
Continue reading Year filter from the search query

Year filter from the search query

A good question was asked in the post Natural-language date queries: Is it possible to extend this so that I can simply add a the year in the search and only results from that year would show? The answer is yes! Add these functions to your site: The code consists of two functions. The first…

Read more Year filter from the search query 0 Comment on Year filter from the search query
Continue reading WooCommerce: Aelia Prices by Country product visibility

WooCommerce: Aelia Prices by Country product visibility

Aelia has a Prices by Country for WooCommerce plugin, which can adjust prices based on customer country and hide products unavailable in a specific country. Jason James shared a function that makes Relevanssi hide unavailable products in search: This function uses the relevanssi_post_ok filter hook to control which posts are included in the search and…

Read more WooCommerce: Aelia Prices by Country product visibility 0 Comment on WooCommerce: Aelia Prices by Country product visibility
Continue reading PublishPress Revisions: duplicate posts

PublishPress Revisions: duplicate posts

PublishPress Revisions causes duplicates to appear in Relevanssi search results when a revision is approved. When the revision is created, Relevanssi indexes it because it has the same post type as the original post with the post status draft. Relevanssi indexes drafts because people may want to search for them in the admin search. This is…

Read more PublishPress Revisions: duplicate posts 0 Comment on PublishPress Revisions: duplicate posts
Continue reading Korean postpositions

Korean postpositions

Korean has postpositions, which complicate things for Relevanssi. Fortunately, it’s easy to clean up the most common postpositions from the words. Add this function to your site: After you’ve added this function, rebuild the index. You also need to adjust the minimum word length to 2, as many Korean words are only two characters long.…

Read more Korean postpositions 0 Comment on Korean postpositions
Continue reading Premium 2.25 / Free 4.22 release notes

Premium 2.25 / Free 4.22 release notes

This is a security update. A security hole was found in Relevanssi that allowed anybody to view site drafts. Versions 2.25 and 4.22 patch this hole. 2.25.2 / 4.22.2 2.25.1 / 4.22.1 2.25.0 / 4.22.0 You can find the new versions from the automatic updates or the Downloads page.

Read more Premium 2.25 / Free 4.22 release notes 0 Comment on Premium 2.25 / Free 4.22 release notes
Continue reading Indexing attachments from File blocks

Indexing attachments from File blocks

The Relevanssi attachment indexing assumes the files are connected to the posts using the WordPress attachment mechanism. What if you don’t use that but instead add the files to the pages using the File block in the block editor? That’s not a problem, but it requires some extra code. Add this function to your site…

Read more Indexing attachments from File blocks 0 Comment on Indexing attachments from File blocks