Continue reading Genesis

Genesis

In some cases, Relevanssi requires modifications to the search result template for the search results to work properly (in particular when using Relevanssi Premium to search user profiles and taxonomy terms). Adjusting the templates is really simple, usually just changing the_permalink() to echo relevanssi_get_permalink() is enough, but framework themes like Genesis make small changes like these more complicated. Sarah Moyer took…

Read more Genesis 13 Comments on Genesis
Continue reading Premium 1.13.2

Premium 1.13.2

1.13.2 is a maintenance release and generally recommended, as it fixes minor bugs and a possible XSS vulnerability. Fixed a bug that caused the results to change depending of the order of words in a multi-word search query. Added product_categories and recent_products from WooCommerce to the list of blocked shortcodes. There are improvements in excerpt-building…

Read more Premium 1.13.2 0 Comment on Premium 1.13.2
Continue reading Auto-redirecting with one search result

Auto-redirecting with one search result

If you want to auto-direct the user directly to the result if there’s just one result for the search, that’s quite easy. Add the following code to your site: This is not Relevanssi-specific and works just fine even without Relevanssi. If you are using Relevanssi on a multisite system, you need a small change to…

Read more Auto-redirecting with one search result 15 Comments on Auto-redirecting with one search result
Continue reading Excluding protected posts

Excluding protected posts

A site I’m working with has a handful of “protected” posts (password required to view). For various reasons, we don’t want to show these in search results. While there is no excerpt shown, I’d prefer for people to not even know they exist. Relevanssi sees protected posts as public posts (because their post status is…

Read more Excluding protected posts 14 Comments on Excluding protected posts