Skip to main contentSkip to footer

I’m currently working on a significant release for Relevanssi: Relevanssi Premium 2, and Relevanssi 4 will bring lots of exciting and valuable updates for Relevanssi.

However, while waiting for the major releases (which should come out in 2017), I wanted to share some more minor improvements with you. This smaller update includes:

  • Premium only: ACF repeater fields with dashes didn’t work; that is now fixed.
  • Simple Membership plugin is now supported automatically to restrict access to posts.
  • Relevanssi can now handle orderby parameter in array format.
  • Relevanssi now blocks Easy Digital Downloads shortcodes when indexing to improve compatibility with EDD.
  • When using fields to only fetch post IDs, Relevanssi doesn’t try to highlight post titles.
  • New action: relevanssi_update_options lets you adjust Relevanssi options immediately after the defaults are set.
  • Remove notices about duplicated database columns when installing the plugin.

New versions can be updated automatically from the WordPress dashboard. You can also download Relevanssi Premium from the downloads page.

Your account

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

Search

Popular Resources

WPML: Category exclusions
Relevanssi category exclusion setting doesn’t work properly with WPML. Here’s a bit of code from Srdjan Jocić from OnTheGoSystems that…
Add more content to the index for Relevanssi Light

…Plugin URI: https://www.domain.com * Description: Overrides Relevanssi Light post data update. * Version: 1 * Author: Mikko Saari * Author URI: https://www.relevanssi.com/ * License: GPLv2 or later * License URI: http://www.gnu.org/licenses/gpl-2.0.html */ if ( ! function_exists( ‘relevanssi_light_update_post_data’ ) ) { function relevanssi_light_update_post_data( $post_id ) { global $wpdb; // Fetch the…

Modifying the search form on the fly

…is set. Like this: add_filter( ‘get_search_form’, ‘add_ld_topic_category’ ); function add_ld_topic_category( $form ) { if ( isset( $_GET[‘ld_topic_category’] ) ) { $value = esc_attr( $_GET[‘ld_topic_category’] ); $form = str_replace( ‘</form>’, ‘<input type=”hidden” name=”ld_topic_category” value=”‘ . $value . ‘” /></form>’, $form ); } return $form; } Add this function to your site….I set up a short coded search box to search my Learndash e-course for one specific category only: [ searchform ld_topic_category=“156” ] It works perfectly except one thing: if no results show, it takes you to the default WordPress page and presents you with the standard search box that no……longer searches category 156. This problem isn’t generally very hard to fix. The exact solution depends somewhat on the theme. In this case the theme used was Astra, and Astra makes this very easy by using the default WordPress search form powered by get_search_form(). We want to modify the search…

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