Skip to main contentSkip to footer

Relevanssi adds a shortcode to help making links to search results. That way users can easily find more information about a given subject from your blog. The syntax is simple:

This will make the text John Doe a link to search results for John Doe. In case you want to link to some other search term than the anchor text (necessary in languages like Finnish), you can use:

Now the search will be for John Doe, but the anchor says Mr. John Doe.

One more parameter: setting  will wrap the search term in quotation marks, making it a phrase. This can be useful in some cases.