Forums Forums Search & Filter Pro Redirecting to Homepage, Category Separation & Search before hitting Submit!

Viewing 10 posts - 1 through 10 (of 15 total)
  • Anonymous
    #110570

    Hi there!

    Ok, so I got the basic functionalities to work (woo!). Now I just need some help with a few things please!

    1 – When I conduct a search, it redirects to the homepage. The search results display underneath the home slider and the 3 call to action boxes. Ideally, I would like for the results to display on the same page, or a new page (without the slider and CTA boxes).

    2 – The search function works, however it searches automatically after selecting one box. Before results are filtered, users should be able to check as many boxes as they need and then bring up relevant results.

    3 – I would like to have 3 different search headings. 1 – Age Range. 2 – Activity Type. 3 – Materials. currently, I have the age and activity set into categories and the materials into tags. I would prefer a way to seperate all 3 search criteria easily.

    4 – Is there a way to have this display horizontally instead of vertically?

    I appreciate your help! The url for the site is http://www.sicilysheartandhome.com/search

    Trevor
    #110593
    This reply has been marked as private.
    Anonymous
    #111154
    This reply has been marked as private.
    Trevor
    #111294

    Is it just the checkboxes that need to be horizontal? Instead, then, this might work:

    .searchandfilter ul > li > ul:not(.children) {
      padding-left: 0;
    }
    .searchandfilter > ul > li > ul > li {
      display: inline-block;
    }
    .searchandfilter  > ul > li > ul > li .sf-label-checkbox {
      margin-right: 20px;
    }
    Trevor
    #111300

    As to the re-direction, I can see what the issue is, but resolving that throws another one. I will need to look further, which will likely be tomorrow.

    Trevor
    #111457

    So, I took a look at the re-directing issue and it is because your theme in our As an Archive display method mode is doing that. Given the theme, I suspect that the only method that will work is our Shortcode method. See the documentation here (please make sure that you follow it):

    https://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/

    Before you do this, however, you are currently using the main theme as your theme, whereas you should be using a child theme in WordPress. Install this plugin to make one for you, and then remove the plugin as you won’t then need it:

    https://wordpress.org/plugins/orbisius-child-theme-creator/

    Be VERY careful what you call the theme. I would call it:

    SicilysHeart

    Then any changes you make to the theme you should do to the child theme. This means that anything you do won’t be overwritten by theme updates.

    Anonymous
    #111751

    Hi there!

    Thanks so much for your patience, I think I have everything figured out for the most part. I was able to use your code to create the check boxes horizontal (thank you). I updated to use the shortcode instead of archive, which fixed the redirect issue.

    However, now on the search form itself I am having two issues:

    1 – it displays the posts that are included without clicking any checkboxes.

    2 – When I do click the checkboxes, it’s only showing one post when it should be showing 2-3 based on the checkboxes I am selecting.

    If we can check these two things to work, we will be good to go! Apologies as I am no coding wiz, and you help is more than appreciated 🙂

    Anonymous
    #111753
    This reply has been marked as private.
    Trevor
    #111952

    Within the setting for the field with checkboxes, is Search Operator set to AND or OR? It should be set to OR.

    Anonymous
    #114307
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 15 total)