Skip to main contentSkip to footer

Relevanssi Premium 1.2 adds a feature that’s been requested a lot! Relevanssi can now highlight search terms from incoming searches from external search engines. If you get visitors from Google, Bing, Yahoo, AOL Search or Ask, the search terms are now highlighted if you want to.

Those are all search engines Relevanssi recognizes for now, but adding more is certainly possible. Search tends to cluster to very few search engines, so I don’t want to add a huge list, but I take requests for new additions.

The highlighting uses the same highlights that internal searches use. If somebody thinks external search needs different highlights, that’s something I’d like to hear as well. Google-style different colours for different terms is not possible with the way Relevanssi handles the highlights for now, but I guess that’s something that can be changed.

There’s also a correction to the Did you mean? suggestions, there was a programming error. I also added a filter hook here to help fixing possible problems, see Did you mean? suggestions knowledge base entry. I also fixed the way shortcodes are handled when indexing documents, that was causing trouble with some plugins.

Download version 1.2 here.

Your account

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

Search

Popular Resources

Multi-part excerpts

…knows that and you can display that information on the search results page: Achieving this is a two-part process. First, add this to your site to modify the excerpt part with the relevanssi_excerpt_part filter to show the source data: add_filter( ‘relevanssi_excerpt_part’, ‘rlv_excerpt_parts’, 10, 2 ); function rlv_excerpt_parts( $excerpt_text, $excerpt )……first, then the second-best and so on. Relevanssi won’t order them in the order the parts appear in the post, and can’t show any indication of where in the post the part appears. Styling the excerpts Each part is wrapped in a span tab with the class excerpt_part. In order……2 ); function rlv_excerpt_parts( $excerpt_text, $excerpt ) { return ‘<span class=”excerpt_part”><span class=”excerpt_source”>’ . $excerpt[‘source’] . ‘</span>’ . $excerpt[‘text’] . ‘</span>’; } Then add some styles to make it look nicer: .excerpt_part .excerpt_source { display: inline-block; text-transform: uppercase; font-size: 50%; color: #555; margin-right: 20px; padding: 5px; border: thin solid #999; }…

Genesis
In some cases, Relevanssi requires modifications to the search result template for the search results to work properly (in particular…

Related Posts:

Currently there are no related posts available.

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