Forums Forums Search & Filter Pro 2 search results – same template, only one working

Viewing 10 posts - 1 through 10 (of 12 total)
  • Anonymous
    #230742

    Hi,

    Here is my issue: https://www.youtube.com/watch?v=WesAiWLIQas&feature=youtu.be

    2 results list + 2 templates (one per ID). Only one is working at the same time.

    Trevor
    #230745
    This reply has been marked as private.
    Anonymous
    #230802
    This reply has been marked as private.
    Trevor
    #230824
    This reply has been marked as private.
    Anonymous
    #230834

    “I can see what you are doing. You have on the page two archives which are S&F form Results shortcodes. The forms themselves are being used only to pre-filter, with no actual form.”

    > Correct

    You are using custom results.php files (numbered the same as the forms). If using the standard results.php template for both results, there is not an issue?

    > It works with the default listing.

    If form #780 uses the standard results.php, but form #781 uses the custom one, it works?

    > It does.

    If form #780 uses the custom results.php and form #781 uses the standard results.php, what happens then?

    > It does NOT work.

    I’m using the default loop “while ($query->have_posts())” and then using filters to remove some of the results with get_field. That’s why I’m not using any limist to the results (they list from 105 to 300 results).

    If both results are using a custom result.php, the second (781) is not even going into the “if ($query->have_posts())” loop.

    Anonymous
    #230964

    Hi,

    Did you find anything so far?

    Trevor
    #230976
    This reply has been marked as private.
    Trevor
    #231011
    This reply has been marked as private.
    Anonymous
    #231033

    Hi,

    I had to create a shortcode using the custom display results method and the code from the old 781.php file. It seems to work now but that’s weird.

    Trevor
    #231038

    This is resolved now?

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