WPML: Category exclusions
Relevanssi category exclusion setting doesn’t work properly with WPML. Here’s a bit of code from Srdjan Jocić from OnTheGoSystems that fixes it. Just add this to your theme functions.php.
Relevanssi category exclusion setting doesn’t work properly with WPML. Here’s a bit of code from Srdjan Jocić from OnTheGoSystems that fixes it. Just add this to your theme functions.php.
Thanks to a very eye-opening talk in WordCamp Jyväskylä earlier this year by Otto Kekäläinen from Seravo, Relevanssi code has been reviewed and modified to follow WordPress coding standards. As a result, there have been minor improvements all around the code to make things more robust and secure. Every new Relevanssi Premium release is now…
Version 2.0.5 fixes a nasty bug that made Did you mean suggestions stop working. It also includes couple of fixes and improvements, making life easier and removing some need for template changes. Fixed a bug in “Did you mean” suggestions. Paid Member Subscription shortcode compatibility improved. Indexing works better when there are plenty of excluded…
If you have Relevanssi Premium and want to make Relevanssi understand French plurals, you can add this code to your site: Then just rebuild the index, and now searching for plurals will also find the singular form. This is a very simple way to handle the plurals: it will simply strip the final “s” or…
It’s been a while since the previous Relevanssi Premium update, and that’s why there’s now a pile of small improvements in Relevanssi. There are no major bugs to fix in this version. One of the biggest improvements comes to user indexing: that was downright impossible with a large enough user base, as was found out…
If your posts include content from related posts using the Advanced Custom Fields relationship functionality, Relevanssi doesn’t index that content by default. Even if you set Relevanssi up to index the ACF fields, the relationship fields do not include any content, just references to other posts. Those, even if indexed, are not particularly helpful. ACF…
Relevanssi Premium has support for in-query Boolean operators. Relevanssi uses + and – for the operators: cats -dogs and cats +kittens. If you prefer instead to use the verbal AND and NOT operators, it only takes one small function. Add this to your site: This function (on the relevanssi_search_filters hook) looks at the search query…
Advanced Custom Fields makes it possible to add custom fields to taxonomy terms. You can only do this with Relevanssi Premium because the free version of Relevanssi can’t index taxonomy terms. Suppose you set Relevanssi to index custom fields. Relevanssi won’t index these taxonomy custom fields because taxonomy terms aren’t generally allowed to have custom…
Version 4.0.3 fixes problems in Relevanssi 4.0.2. The biggest issue is the indexing: version 4.0.2 always leaves some posts unindexed and requires the user to continue indexing. This version fixes that issue and other small issues. Relevanssi didn’t index all posts with one go. It does now. © and ® symbols caused problems in indexing;…
Version 2.0.3 is mostly maintenance, fixing bugs in previous versions. There have been some issues with the PDF indexing, some wrinkles we’re still ironing out. As a new feature, you can now have Relevanssi automatically read the contents of new PDF files – that wasn’t possible before. This setting is disabled by default, as it…