Continue reading Flatsome theme product search results page

Flatsome theme product search results page

The Flatsome theme, when combined with WooCommerce, has a product search results page that can also show posts and pages. That doesn’t work with Relevanssi out of the box, but fortunately can be made to work. The function that adds the functionality is hooked in place, so it’s easy to unhook the default function and…

Read more Flatsome theme product search results page 0 Comment on Flatsome theme product search results page
Continue reading BeTheme compatibility

BeTheme compatibility

BeTheme does the strangest, weirdest, and least productive things with search I’ve ever seen in a professional theme. It can automatically clear out your search term, which of course leads to Relevanssi searches failing. I have no idea what that is trying to achieve, but it makes searching very frustrating. Fortunately the fix is simple.…

Read more BeTheme compatibility 5 Comments on BeTheme compatibility
Continue reading Divi Page Builder and cleaner excerpts

Divi Page Builder and cleaner excerpts

Getting Divi to show Relevanssi excerpts Divi doesn’t use the default excerpts, but instead just truncates the beginning of the post and shows the first 270 characters. That means Relevanssi-generated excerpts don’t show up at all. In order to fix this, you need to change the excerpts to use the_excerpt(); instead of truncate_post( 270 );.…

Read more Divi Page Builder and cleaner excerpts 72 Comments on Divi Page Builder and cleaner excerpts
Continue reading Compatibility with the Avada theme

Compatibility with the Avada theme

Avada is the most popular WordPress theme on the market. Unfortunately it doesn’t completely work with Relevanssi out of the box. Avada uses a custom method of displaying excerpts, and that is unfortunately not compatible with Relevanssi. This function will fix the issue from versions 5.6 onwards: function fusion_get_post_content_excerpt( $limit = 285, $strip_html, $page_id =…

Read more Compatibility with the Avada theme 33 Comments on Compatibility with the Avada theme
Continue reading Relevanssi and Modernize

Relevanssi and Modernize

Modernize is a neat Premium theme that has a problem with Relevanssi. Relevanssi highlighting can cause problems on Modernize search results pages, with results getting wrong background color. This problem is caused by the way Modernize truncates excerpts to certain length, set in the Modernize settings. It doesn’t care about HTML tags, so Modernize may…

Read more Relevanssi and Modernize 0 Comment on Relevanssi and Modernize