Skip to main contentSkip to footer

Premium 1.8.2

Update: There was a critical error in 1.8.1, so it’s instantly replaced by 1.8.2, which is the same except it works.

Version 1.8.1 is a recommended bug fix update.

  • “Uncheck this if you use non-ASCII characters” option didn’t work.
  • Relevanssi showed incorrect number of posts on results pages.
  • Fixed a small bug in indexing user profiles.
  • I improved the way Relevanssi and Role-Scoper work together.

The biggest issue is the incorrect number of posts shown on results pages. Version 1.8 made some changes in how the posts_per_page works when it’s set to -1, but I didn’t check how it works in other cases. Oops. Now Relevanssi should show the correct amount of posts on results pages.

There was also a problem in search term highlighting, when users had unchecked the “Uncheck this…” option in highlighting options. I’ve fixed that, but most people simply shouldn’t uncheck that option. It’s only necessary when there are problems with the search term highlighting, one case being Cyrillic alphabet.

If you’re using Role-Scoper, please contact me, because Role-Scoper needs a bit of an update with this version of Relevanssi. I can help you with that until Role-Scoper is officially updated.

Your account

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

Search

Popular Resources

Moving the admin search page

Jules Colle came up with a method of moving the Relevanssi admin search page from under the Dashboard heading to the top level of the admin menu. add_action( ‘admin_menu’, function () { remove_submenu_page( ‘index.php’, ‘relevanssi_admin_search’ ); add_menu_page( ‘Search all content’, ‘Search all content’, ‘manage_options’, ‘relevanssi_admin_search’, ‘relevanssi_admin_search_page’, ‘dashicons-search‘, 2 ); },……introduced. This filter hook lets you add new admin page hooks where Relevanssi javascript is used, so we can introduce our new admin search page: add_filter( ‘relevanssi_acceptable_hooks’, function( $hooks ) { $hooks[] = ‘toplevel_page_relevanssi_admin_search’; return $hooks; } ); Now we have a nice, functioning admin search that is not hidden:……99 ); This function adds an admin_menu action that first uses remove_submenu_page() to remove the existing admin search function and then add_menu_page() to add it again on the top menu level. This works well except for one thing. The Relevanssi admin javascript is added only to specific pages, and the…

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