Relevanssi plugin breaks WordPress built-in editor searchs

Relevanssi plugin breaks WordPress built-in editor searchs 5Relevanssi – A Better Search plugin breaks the search function in the “Media Library’, “Insert Media panel”, and also the ‘Insert link to existing content” in the hyperlink panel.

Relevanssi replaces WordPress default search with a partial-match search that sorts results by relevance instead of the default reverse chronological order. It also indexes comments and shortcode content, so it’s a real benefit for WordPress websites.

I was using the latest free version 2.9.14 of the plugin and noticed that when I was searching the Media Library for any search term I was getting “No media attachments found.” I also found a related issue when using the Link button in the visual editor, the “link to existing content” function also was not working.

I started the usual debugging process of switching to the default Twenty Eleven theme and disabling all plugins. Reactivating plugins one at a time to narrow down the problem I was able to see the problem with only the plugin Relevanssi active.

I notified the developer Steve Mikkosaari about the problem using the WordPress support forum.

He responded right away:

Sure. There are some issues with the media searching in Relevanssi, the next version will hopefully address them.

I’ll see that these are fixed in the next version.

Meanwhile, with Relevanssi Premium both media library searches and “link to existing content” work with WP 3.4.1, so you might want to consider upgrading to the Premium version. It’s just nine euros or so, and has lots of benefits compared to the free version.

Relevanssi plugin breaks WordPress built-in editor searchs 6I consider this +1 responsive support from a developer of a free plugin – thumbs up for his response. Now we’ll see how soon he fixes the problem.

So, the bottom line, I’ve disabled the plugin, but not removed it from my site and my clients’ sites and will wait for his next version to see if it fixes the problem. I hope it does, because it adds real value to the websites by giving better search results.

(This post was viewed 122 times) in the last month.)

Pieter Hartsook

WordPress website coaching, design, implementation, support, and training. Background in Marketing Research and Communications. See my profile at: https://www.linkedin.com/in/hartsook/

Reader Interactions

Leave a Reply

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

Limit search for phrases by using " " around the phrase

Signup for Monthly Email Notification

Get notified of new posts from WordPress Website Coach. We only send these out once on the 1st of each month.

Something went wrong. Please check your entries and try again.

Recent Code Snippets

Simple History plugin banner

Shorten the length of the log file for Simple History plugin

Posted in , ,

The Simple History plugin default history period is 60 days. The log includes not only user initiated changes to the website, but all the automated updates to plugins, etc. This can make the log file pretty large.

(This post was viewed 8 times) in the last month.)

Read More
A bit of PHP to preserve html formatting in standard WordPress excerpts 7

A bit of PHP to preserve html formatting in standard WordPress excerpts

Posted in , , ,

If you don’t use the Excerpt field in your posts and rely on WordPress to grab the first few dozen words of your post content what you usually find is the excerpt when displayed on the front end (usually in some sort of archive or post grid display) will have most of the html tags removed leaving you with a single block of plain text.

If I go to the bother of formatting my post content to make it more interesting and easier to read and understand I’d like that formatting to be preserved even in that post’s excerpt.

(This post was viewed 45 times) in the last month.)

Read More
How to add custom post types to your default RSS feed 8

How to add custom post types to your default RSS feed

Posted in , , ,

RSS readers are somewhat old school in 2020, but the RSS feed that is part of WordPress is used by email services like Mailchimp and Mailerlite to create automated email updates when you add a new post to your website.

If you have custom post types though, they are not included in the default URL:

https://yoursite.com/feed

(This post was viewed 145 times) in the last month.)

Read More
Storing javascript in a metabox.io Custom Field textarea 9

Storing javascript in a metabox.io Custom Field textarea

Posted in , ,

For some client projects I needed to embed javascript code in a page (Post). I used a custom field textarea to insert the code when creating the Post. The problem was the default for text fields was to run them through a sanitizer.php to strip out any type of code that might be malicious. This is a good thing. But in this case it defeats the purpose.

So how to disable the sanitizing for just this field without breaking the default?

 

(This post was viewed 100 times) in the last month.)

Read More
Create a Scrolling Column with trivial CSS 10

Create a Scrolling Column with trivial CSS

Posted in ,

The client wanted to display a list of past events in a scrollable column. This was easy to implement using simple css. The page layout was done with Beaver Builder, but the solution should work for any html container.

(This post was viewed 82 times) in the last month.)

Read More
Changing a Submenu to a Mega-menu with Beaver Builder 11

Changing a Submenu to a Mega-menu with Beaver Builder

Posted in , , ,

Sometimes you want to present a navigation menu as a horizontal “mega-menu” instead of a hierarchal dropdown menu. This is really simple if you are using Beaver Builder. The mega-menu feature is built in, but is unfortunately hidden. You have to know the secret to turn it on.

(This post was viewed 98 times) in the last month.)

Read More
Formatting a custom number field to add commas 12

Formatting a custom number field to add commas

Posted in , , , ,

I needed to format a number field (999,999,999), coming from a custom field number-format (no other characters permitted in the number entry field). No “$” no commas or decimal points, etc. to output as a normal currency format.

Formatting a custom number field to add commas 13

When displaying the number I could add a “$” in front of the number, but couldn’t find a way to format the number since you can’t do that with CSS.

(This post was viewed 247 times) in the last month.)

Read More

Popular Posts


Categories