Continue reading Adding direct links to outside pages to search results

Adding direct links to outside pages to search results

Hi, is there a way to add a link to another website when searching for certain keywords? We have a few affiliates and we want to include a direct link to their websites in the search results when certain terms are searched for. How would I go about this? A straight-forward approach for this is…

Read more Adding direct links to outside pages to search results 0 Comment on Adding direct links to outside pages to search results
Continue reading Relevanssi breaks autoembeds on result pages

Relevanssi breaks autoembeds on result pages

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 off, considering it’s not commonly…

Read more Relevanssi breaks autoembeds on result pages 0 Comment on Relevanssi breaks autoembeds on result pages
Continue reading Elementor

Elementor

Elementor is a popular page builder. It works rather well with Relevanssi. Highlight in documents breaks entrance animations In some cases enabling Relevanssi in-document highlighting breaks pictures with entrance animations. You can add this function to your site to fix the problem. Conditional and Inline CSS Load Experiment Elementor has this new experimental feature. For…

Read more Elementor 2 Comments on Elementor
Continue reading Moving the admin search page

Moving the admin search page

Jules Colle came up with a method of moving the Relevanssi admin search page from under the Dashboard heading to the top level of the admin menu. This function adds an admin_menu action that first uses remove_submenu_page() to remove the existing admin search function and then add_menu_page() to add it again on the top menu…

Read more Moving the admin search page 0 Comment on Moving the admin search page
Continue reading Forced phrase search with fallback

Forced phrase search with fallback

Relevanssi by default does not consider the search query a phrase, or value posts where the words in the search query appear together. Sometimes people do expect that, especially in AND searches. Relevanssi however does not have the information about the nearby words, so it’s not possible for Relevanssi to factor that in. Relevanssi does…

Read more Forced phrase search with fallback 0 Comment on Forced phrase search with fallback
Continue reading WP Download Manager

WP Download Manager

WP Download Manager is a popular file management plugin for WordPress. It’s unfortunately incompatible with Relevanssi attachment content reading out of the box, as Relevanssi expects the attachments to be stored in the Media Library, and WP Download Manager stores the files outside Media Library. Fortunately, Relevanssi includes the necessary filter hooks that make it…

Read more WP Download Manager 0 Comment on WP Download Manager
Continue reading Searching for all descendants of a page

Searching for all descendants of a page

If you want to restrict a search to a page and all it’s children, you can add a post_parent parameter to the search, and that’s it – but that only includes the direct children of the page. What if you want to include page, it’s children, all the grandchildren and their children? In that case,…

Read more Searching for all descendants of a page 2 Comments on Searching for all descendants of a page
Continue reading Multi-part excerpts

Multi-part excerpts

Relevanssi Premium 2.11 introduces a new feature: multi-part excerpts. There’s a new setting on the Excerpts & Highlights settings tab, “Number of excerpt snippets”, and that lets you define the maximum number of excerpt snippets Relevanssi generates for each post. How does it work This option is only available when the excerpt length is defined…

Read more Multi-part excerpts 0 Comment on Multi-part excerpts
Continue reading Can Relevanssi access content outside WordPress?

Can Relevanssi access content outside WordPress?

Short answer: no. Relevanssi can only access WordPress content. For a longer answer, read on. Only within single WP installation Relevanssi only operates within one WordPress installation. Relevanssi Premium supports multisite searching, where the search can return posts from more than one subsite at once, but even in those cases the WordPress sites must be…

Read more Can Relevanssi access content outside WordPress? 2 Comments on Can Relevanssi access content outside WordPress?