Search Box Shortcode

  • media-artists
    Participant
    # 3 months, 3 weeks ago

    Hello There,

    media-artists
    Participant
    # 3 months, 3 weeks ago
    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
    # 3 months, 3 weeks ago

    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
    # 3 months, 3 weeks ago

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

    View post on imgur.com

    wpsolr
    Keymaster
    # 3 months, 3 weeks ago

    Looks good.

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

    media-artists
    Participant
    # 3 months, 3 weeks ago
    wpsolr
    Keymaster
    # 3 months, 3 weeks ago

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

    media-artists
    Participant
    # 3 months, 3 weeks ago

    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
    # 3 months, 3 weeks ago

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

    media-artists
    Participant
    # 3 months, 3 weeks ago

    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
    # 3 months, 3 weeks ago

    Can I see your screen 2.3 (search boosts) ?

    media-artists
    Participant
    # 3 months, 3 weeks ago
    wpsolr
    Keymaster
    # 3 months, 3 weeks ago

    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
    # 3 months, 3 weeks ago

    View post on imgur.com

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

    wpsolr
    Keymaster
    # 3 months, 3 weeks ago

    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.