Forums Forums Search & Filter Pro Dynamic search url

Viewing 10 posts - 1 through 10 (of 19 total)
  • Anonymous
    #215362

    Hi, I have search form that I want to show on some category pages. For the results url it is always going back to the first page – /insights/ in this case. Is there a way to set the url dynamically so it can show results on a /insights/$cat page?

    Trevor
    #215365

    If you are using the Post Type Archive display results method, you can use the Template Options -> Enable filtering on Taxonomy Archives? setting.

    As long as the taxonomy in question is also in the form (even if hidden from display), and you have also selected the Detect defaults from current page -> Choose which kinds of pages S&F will try to do this on -> Tag, Category & Taxonomy Archives the plugin can do what you want.

    Anonymous
    #222304

    Hi, this worked great but we are having some issue with pagination now where the pagination links are going back to the base URL of the search form instead of staying on the category archive page.

    /insights?sf_paged=2 instead of /insights/press-coverage?sf_paged=2

    Just FYI – we are using wp_pagenavi

    – Thanks

    Trevor
    #222400
    This reply has been marked as private.
    Anonymous
    #222579

    Hi there,

    Sorry to chime in but I am searching for the same answer. I switched to pagination from infinite scroll for a faster loading site and on my home page when I use the filter all works well until I go to page 2. Urls go from:

    from https://slpstream.com/filter/?_sft_category=documentary&_sfm_duration=6+1006
    to https://slpstream.com/page/2/

    I would like page 2 to be https://slpstream.com/filter/page/2/?_sft_category=documentary&_sfm_duration=6+1006

    It’s the homepage so the template is index.php

    I have “Detect defaults from current page” switched on for all three boxes.

    Thanks in advance for any help.

    AW

    Anonymous
    #222585
    This reply has been marked as private.
    Anonymous
    #222616

    Sorry David, I can’t see your reply because it’s marked as private. Still looking for the solution if you have time to share it. Thanks!

    Anonymous
    #222679

    Hi Alice, I will share the answer as not private when I get it don’t worry 😀

    Anonymous
    #222990

    Hi Trevor… any thoughts on this yet?

    Trevor
    #223142
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 19 total)