• Resolved wpfreund14

    (@wpfreund14)


    Hi!

    In options table “Searching” in line “Keyword matching” of Relevanssi I found “See Help, if you want to make Relevanssi match also inside words.”

    I want to activate this option but I can’t find this Help. Google also isn’t helpfull.
    How can I activate the matching for inside words?
    e.g. searching for “geheimnis” must find Firmengeheimnisse.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mikko Saari

    (@msaari)

    The WordPress Help feature can be found in the top right corner of the admin dashboard on Relevanssi settings pages.

    This is the filter you need to add:

    add_filter( 'relevanssi_fuzzy_query', 'rlv_partial_inside_words' );
    function rlv_partial_inside_words( $query ) {
    	return "(term LIKE '%#term#%')";
    }
    Thread Starter wpfreund14

    (@wpfreund14)

    Thank you!

    Added into functions.php of theme “twentythirteen” and it doesn’t work. Tested on top, in the middle and at the bottom of this file. It doesn’t have any effect.
    What can I do now to find the reason?

    Thanks a lot!

    Thread Starter wpfreund14

    (@wpfreund14)

    Stop! Sorry! Reason can’t be Relevanssi. On other server it’s ok.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t find setting “inside words”’ is closed to new replies.