Continue reading WPML: Indexing synced posts

WPML: Indexing synced posts

When a post is updated, WPML updates all the translations of the post, but Relevanssi only indexes the post that was updated, not the corresponding posts in other languages. This method hooks into save_post after WPML to tell Relevanssi also to index the matching translations. Thanks to Garrett McGilvray / Éditions CEB. There’s a similar…

Read more WPML: Indexing synced posts 0 Comment on WPML: Indexing synced posts
Continue reading WPML: Replacing posts with translations

WPML: Replacing posts with translations

Here’s a different approach to WPML searching. By default, you have two options. You can include posts in all languages in the results, or you can only use the current language. This solution checks for matches also in other languages. If Relevanssi finds any, this script then replaces them with the translated posts. You get…

Read more WPML: Replacing posts with translations 0 Comment on WPML: Replacing posts with translations
Continue reading Premium 2.14 / Free 4.12

Premium 2.14 / Free 4.12

This new version improves Relevanssi excerpt generation, making it faster especially with larger posts. Lots of small bug fixes are also included, making Relevanssi more robust. 2.14.5 / 4.12.5 (Premium) New feature: New WP CLI command wp relevanssi remove_attachment_errors clears out all attachment reading errors. Changed behaviour: relevanssi_excerpt_custom_field_content now gets the post ID and list…

Read more Premium 2.14 / Free 4.12 0 Comment on Premium 2.14 / Free 4.12