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

Viewing 10 posts - 1 through 10 (of 14 total)
  • 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.
    Trevor
    #114386

    Can you remind me of the results page URL?

    Are you working using a custom copy of the results.php template, as I had detailed in a previous post (one that is inside a sub-folder of the theme folder)?

Viewing 10 posts - 1 through 10 (of 14 total)