Continue reading Ordering search results by date

Ordering search results by date

I’m building a directory and would like the oldest posts to automatically display first in the search results, is this possible? I found out how to add a link that the user can click to sort the results but would like an automatic solution. Can you provide code that can be added to the functions.php…

Read more Ordering search results by date 3 Comments on Ordering search results by date
Continue reading Free 3.3.5 / Premium 1.12.1

Free 3.3.5 / Premium 1.12.1

Both free and Premium got updates today. The most important thing in these updates is the improved security: the MySQL queries should be safe now, with all inputs thoroughly escaped. Fixed a bug where excluding posts would cause the search to fail. WPML searches showed each result twice. That’s fixed. Increased plugin safety against hackers.…

Read more Free 3.3.5 / Premium 1.12.1 0 Comment on Free 3.3.5 / Premium 1.12.1
Continue reading Premium 1.11

Premium 1.11

Relevanssi Premium 1.11 fixes few bugs and adds lots of new filters. Fixed a bug in the TablePress support. Titles are put through the_title filter before indexing. relevanssi_related() function had a bug. New filter: relevanssi_join can be used to join tables in the Relevanssi search MySQL queries. Thanks to Ninos Ego. New filter: relevanssi_tax_term_additional_content can…

Read more Premium 1.11 3 Comments on Premium 1.11
Continue reading Using multiple custom taxonomies

Using multiple custom taxonomies

Usually, WordPress supports one category, one tag and one taxonomy in the search, if you use the query variables to set the taxonomies. You can enter multiple taxonomies as parameters to the query, but only the first one is used. If you want to have multiple taxonomies involved, you need to build a tax_query. The…

Read more Using multiple custom taxonomies 60 Comments on Using multiple custom taxonomies
Continue reading Premium 1.10.14 / Free 3.1.9

Premium 1.10.14 / Free 3.1.9

A bit of a panic version, when I found out Relevanssi is incompatible with WordPress 3.7. Relevanssi Premium 1.10.14 and Relevanssi 3.1.9 are identical: Fix to make Relevanssi compatible with WordPress 3.7. Fixed a mistyped database table name. Relevanssi disables responsive-flipbook shortcode in indexing; it was causing problems. Fixed a problem with an author dropdown…

Read more Premium 1.10.14 / Free 3.1.9 0 Comment on Premium 1.10.14 / Free 3.1.9
Continue reading Premium 1.10.13

Premium 1.10.13

The version 1.10.13 of Relevanssi Premium fixes bugs, improves compatibility with other plugins and makes numerical search terms work better. It’s a recommended upgrade. These fixes have been part of the free version of Relevanssi for a while now, so they’re well-tested. New filter: relevanssi_comment_content_to_index lets you modify comment content before it’s indexed by Relevanssi…

Read more Premium 1.10.13 0 Comment on Premium 1.10.13