Skip to main contentSkip to footer

EmbedPress has an auto-embed feature that tries to embed all URLs found in posts. This can cause problems with Relevanssi: searches can take a very long time when EmbedPress tries to fetch all outside URLs.

The solution is simple: you can disable this feature during Relevanssi excerpt creation. Add this snippet to your site:

add_action( 'relevanssi_pre_the_content', function() {
  remove_filter('the_content', ['\\EmbedPress\\Ends\\Front\\Handler', 'autoEmbedUrls']);
} );

Your account

Not logged in. Log in to see your license details.

Search

Popular Resources

CodeMirror Blocks
CodeMirror Blocks is a good plugin for displaying good-looking code blocks in WordPress (you can see it in action right…
A New Chapter for Relevanssi
We are very excited to announce that Relevanssi has found a new home with comesio solutions GmbH, a software company…
10Web Photo Gallery
The Photo Gallery plugin from 10Web uses a shortcode to add photo galleries to posts and pages. By default, Relevanssi…

Related Posts:

Comment Section:

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed