Continue reading Redirecting email searches to the login page

Redirecting email searches to the login page

A client asked for a solution to redirect all searches for email addresses to the login page – perhaps someone is constantly using the search field when they’re actually looking for the login. This is something that will be easier in Relevanssi Premium version 2.16, when the Redirects tool will accept regular expressions, but it’s not…

Read more Redirecting email searches to the login page 0 Comment on Redirecting email searches to the login page
Continue reading MemberPress Downloads add-on

MemberPress Downloads add-on

The Downloads add-on for MemberPress adds downloadable files to MemberPress. These files are stored outside the Media Library, so by default Relevanssi attachment indexing has no access to them. However, Relevanssi offers filter hooks you can use to make Relevanssi index the MemberPress Downloads files. Adjust the query All this code goes to the child…

Read more MemberPress Downloads add-on 0 Comment on MemberPress Downloads add-on
Continue reading Download Monitor: Index PDF content for parent page

Download Monitor: Index PDF content for parent page

Relevanssi can handle Download Monitor files without big problems. If you want to use the “Index PDF contents for the parent page” option, there’s a problem, though. Download Monitor comes in between: the PDF post is attached to the Download Monitor dlm_download post and not the page where the [download] shortcode is. This can be…

Read more Download Monitor: Index PDF content for parent page 0 Comment on Download Monitor: Index PDF content for parent page
Continue reading ThemeCo

ThemeCo

ThemeCo themes use custom codes for dynamic content. Those are not usual shortcodes, and Relevanssi won’t expand them automatically. In order to expand the dynamic content from ThemeCo themes, you need to use these filters: The critical part is running these filters on an early enough priority for relevanssi_post_content: Relevanssi page builder shortcode cleanup runs…

Read more ThemeCo 0 Comment on ThemeCo
Continue reading CM Tooltip Glossary

CM Tooltip Glossary

A Relevanssi Premium customer bumped into a weird problem with CM Tooltip Glossary (and probably Elementor). Using Elementor, CM Tooltip Glossary and Relevanssi custom excerpts together caused the search results to break in unusual way: each page of the search results showed the same results. I couldn’t figure out what’s causing this, but it was…

Read more CM Tooltip Glossary 2 Comments on CM Tooltip Glossary
Continue reading Unyson

Unyson

Unyson is a free drag & drop framework. It stores the content in a custom field fw:opt:ext:pb:page-builder:json. While Relevanssi can index custom fields, the Unyson custom field is a JSON object that’s hard for Relevanssi to index. Fortunately you can add a function on the relevanssi_custom_field_value filter hook to modify the custom field value before…

Read more Unyson 0 Comment on Unyson
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