Continue reading Relevanssi breaks autoembeds on result pages

Relevanssi breaks autoembeds on result pages

…other plugins that do something with the_content hook. I think it’s better to use the autoembed functionality directly. That’s easy. Instead of echo apply_filters( ‘the_content’, $content_with_embed ); you do this: $embed = new WP_Embed(); echo $embed->autoembed( $content_with_embed ); This will do the autoembedding without any side effects and with no…You may notice that enabling Relevanssi custom excerpts breaks all autoembeds (things like Youtube video embeds) on search results pages. That’s done on purpose, because the autodiscovery of those embeds can be a proper performance killer if the search results include lots of embedded content. Thus, Relevanssi switches the feature……use autoembed directly. In general I recommend the option 3. Disable Relevanssi custom excerpts This one’s straightforward. Just disable Relevanssi custom excerpts, and this will no longer be a problem. Of course, you won’t get Relevanssi custom excerpts, either. Remove the Relevanssi autoembed disabler From the versions 2.14.4 (Premium) and…

Read more Relevanssi breaks autoembeds on result pages 0 Comment on Relevanssi breaks autoembeds on result pages
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