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

…attachment are read, Relevanssi will now automatically index the parent post if the setting is enabled. 2.14.4 / 4.12.4 New feature: New action hooks relevanssi_pre_the_content and relevanssi_post_the_content fire before and after Relevanssi applies the_content filter to the post excerpts. Some Relevanssi default behaviour has been moved to these hooks so…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……it can be modified. Changed behaviour: The relevanssi_do_not_index gets the post object as a third parameter. Minor fix: Remove errors from relevanssi_strip_all_tags() getting a null parameter. (Premium) Minor fix: Updating posts still used relevanssi_update_doc_count(), which can sometimes be really slow. (Premium) Minor fix: Corrected misleading instructions about indexing AND synonyms….

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