• Dear Mikko,

    Thank you for your excellent plugin, and diligence answering support questions.

    eg. url
    https://www.born-again-christian.org/news/?s=looking

    The search results work well, but the search input box (top right on desktops) requires visitors to click the tiny magnifying glass, just hitting the "Enter" keyboard key does nothing. This makes searching somewhat cumbersome.

    How do I modify my search input code to improve/fix this?

    I looked on your excellent plugin docs, and found a snippet to format the search input, but it does not appear to have changed anything. (I did flush my browser cache.)

    I presently have this code in my site's child theme functions.php file;..

    /**
    * Relevanssi Testing
    */
    add_action( 'init', function() {
    remove_filter( 'relevanssi_post_ok', 'relevanssi_wpmembers_compatibility', 10 );
    }, 11 );
    add_shortcode('wpbsearch', 'get_search_form');
    add_filter( 'get_search_form', 'rlv_modify_search_form' );
    function rlv_modify_search_form( $form ) {
    $form = str_replace( 'value="Search"', 'value="Find"', $form );
    return $form;
    }

    I include this information in case it is relevant…
    I use the WPMembership plugin to tame the torrent of AIbots stealing content (previously having converted the site to static format using the "Simply Static" plugin, but since that plugin does not function on membership sites I had delete it. That may have "confused" the Relevanssi set up process?)

    Colin
    • This topic was modified 4 months, 1 week ago by 1waytoheaven.
    • This topic was modified 4 months, 1 week ago by 1waytoheaven. Reason: Sp

    The page I need help with: [log in to see the link]

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

    (@msaari)

    Your search form looks fine, so there’s something else on your site that’s breaking the default behaviour. Your

    I see there’s a JS error on your site, related to Recaptcha. Fixing that would be a good start. I’d also try disabling the “Don’t copy” right-click blocker to see if that is messing up with this.

    This is not related to Relevanssi in any way, that much I can tell, as Relevanssi has nothing to do with this part of the search. This is related to your theme. I tried installing Neve on my test site, and the default Search block works perfectly fine on my test site, so it’s something in the way your site is set up.

    Thread Starter 1waytoheaven

    (@1waytoheaven)

    Oh sorry for taking your time Sir.

    I’m sure you’re correct, so I’ll try disabling other plugins one at a time in order to discover which it is .

    Many thanks for responding.

    I do use an old version of the Neve theme, because subsequent Neve versions broke my homepage design, with no easy fix.

    I’ll also try to disable any invisible ReCaptcha, as you suggest.

    Colin

    • This reply was modified 4 months, 1 week ago by 1waytoheaven. Reason: Sp
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.