Search Box Shortcode

  • media-artists
    Participant
    5 years, 1 month ago #11108

    Hello There,

    media-artists
    Participant
    5 years, 1 month ago #11109
    Hello There,
    
    Everything is going well now! Except one thing, the search box..
    Like the shortcode: 'solr_search_shortcode' is not working, I got this from 
    
    Is there a shortcode to display the ajax search where I need ?
    In my custom template I made a widget area where I added the 'Standard WordPress Search box' in it. Normally as also told in this topic, WPSOLR should be between this call when I search with an standard wordpress search box. https://www.wpsolr.com/knowledgebase/why-is-my-ajax-search-box-not-redirecting-to-the-ajax-search-page/ "Or you can show the standard search widget on your pages, it will be replaced automatically." Sadly enough, is this not working. Is there an active working list of shortcodes? Or could you tell me how to just get the search box of WPSOLR? Also, is there maybe an shortcode or an function which returns the list of active filters? Would like to hear back from you! Kind Regards, Jasper
    wpsolr
    Keymaster
    5 years, 1 month ago #11110

    Just ensure you selected the option “Use my own thee search template” in screen 2.2

    Then all your site standard search boxes will open the standard search url “/?s=”, managed by WPSOLR.

    No need of any shortcodes.

    media-artists
    Participant
    5 years, 1 month ago #11112

    These are my settings and output, should be correct right? 🙂

    View post on imgur.com

    wpsolr
    Keymaster
    5 years, 1 month ago #11113

    Looks good.

    And screens “2.2”, and “3. Send your data”?

    media-artists
    Participant
    5 years, 1 month ago #11114
    wpsolr
    Keymaster
    5 years, 1 month ago #11115

    Why do you not complete the indexing of your 23977 documents?

    media-artists
    Participant
    5 years, 1 month ago #11116

    Currently it is all in development and I am just testing with 5 documents for now. But that’s not the issue/problem right?

    wpsolr
    Keymaster
    5 years, 1 month ago #11117

    Your screens show you searched for “volvo”. Do your 5 indexed documents contain “volvo” in their description, custom fields or taxonomies?

    media-artists
    Participant
    5 years, 1 month ago #11118

    View post on imgur.com

    As you can see, with no search params after /?s= it works and as you can see in the left sidebar in the facets, Volvo is in the list.

    View post on imgur.com

    This search params do work..

    wpsolr
    Keymaster
    5 years, 1 month ago #11119

    Can I see your screen 2.3 (search boosts) ?

    media-artists
    Participant
    5 years, 1 month ago #11120
    wpsolr
    Keymaster
    5 years, 1 month ago #11121

    Boosts seem to be not active. To be sure, can you remove the 2 fields “merk” and “model”, and save. Then test again.

    media-artists
    Participant
    5 years, 1 month ago #11122

    View post on imgur.com

    Disabled, but this does give me any more results with the standard wordpress search

    wpsolr
    Keymaster
    5 years, 1 month ago #11123

    Thanks. I wanted to be sure.

    Do you have other plugins? WooCommerce, WPML, ….

Viewing 15 posts - 1 through 15 (of 20 total)

You must be logged in to reply to this topic.