Forums Forums Search & Filter Pro S&F on Post Category template

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #260951

    I’m trying to use S&F on a post category template. I only want to return results from this post category. I have several different taxonomies I’m filtering by. I have the search form setup to use an archive page, and I’m pointing it to the custom category php template. I think the initial search results are correct, but when I click another taxonomy filter, or if I clear the selected one, nothing happens. It doesn’t update the returned results. If I click the Load More button, it just loads the first 12 posts again and again. Am I doing this correct, or do I need to change the display results method for a category?

    Trevor
    #261069
    This reply has been marked as private.
    Anonymous
    #261512
    This reply has been marked as private.
    Trevor
    #261599

    Are you wanting to ONLY ever have this form search inside that ‘Real Weddings’ category?

    BTW, I think you might want to use this custom CSS:

    .searchandfilter[data-sf-form-id="63885"] li[data-sf-field-input-type="checkbox"] ul li {
        display: inline-block;
        margin-right: 20px;
    }
    Anonymous
    #261608
    This reply has been marked as private.
    Trevor
    #261615

    The only alternative to one form per page (where you could ‘Include’ just that one Category term) would be to set the form to the Post Type archives method, which has an option to stay within the archives pages, and also to Auto Detect the Category

Viewing 6 posts - 1 through 6 (of 6 total)