no facets

Tagged:
  • radeko
    Participant
    1 year, 10 months ago #23760

    Hi I just installed your plugin. Added the index. Everything looks good but I do not see the facets. Could you please help me?
    http://www.amruta.org

    (settings removed by moderator)

    wpsolr
    Keymaster
    1 year, 10 months ago #23761

    Did you add the WPSOLR facets widget on your search page sidebar?

    radeko
    Participant
    radeko
    Participant
    1 year, 10 months ago #23777

    I must have misunderstood your message. It looks like I have to create a dedicated search page. Thank you.

    wpsolr
    Keymaster
    1 year, 10 months ago #23779

    No need to create a search page.

    Add the widget to your theme’s search page, and ensure that in screen 2.1 your theme is selected in the dropdown list (“Use my own the search template”) and the search archive checkbox is selected.

    radeko
    Participant
    1 year, 10 months ago #23783

    I have the search.php page. Could you be so kind and guide me where to add it? Thank you.
    https://pastebin.com/207ZSTMk

    wpsolr
    Keymaster
    1 year, 10 months ago #23784

    You have nothing to do with your search.php

    WPSOLR will replace the WP_Query transparently, and your them’s search will display it as usual.

    radeko
    Participant
    1 year, 10 months ago #23788

    I see. If I understood everything correctly I need a search page with the sidebar enabled. Right now the results page has full width so I can’t place the widgets there https://www.amruta.org/?s=god+is+love
    Right? Is there any other way of adding your widgets to the search results page?

    wpsolr
    Keymaster
    1 year, 10 months ago #23790

    Some plugins can add dynamic sidebars, like https://wordpress.org/plugins/custom-sidebars/

    Also, most page builders can do the same, like Elementor.

    And of course, you can edit your search.php to add a sidebar too.

    • This reply was modified 1 year, 10 months ago by wpsolr.
Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.