Forums Forums Search & Filter Pro Customize default results with shortcode

Viewing 10 posts - 1 through 10 (of 11 total)
  • Anonymous
    #264494

    Hi,

    I use your great plugin with the shortcode method.
    I need to customize my results so i add my results.php file in my child theme and it works, except for the default results which appear before the firest search when i load my page.
    Once i click on the search button, the results are shown as i want them to.

    Is there some option i missed somewhere to make it works?

    Thank you very much and have a nice day.
    Leslie

    Trevor
    #264509

    Can you describe or explain how the first load results are wrong? Are you able to send me a live link/URL to your search page so I can take a look?

    If an annotated screenshot would help, upload it to a file sharing site and share the link to the image with me?

    Anonymous
    #264529
    This reply has been marked as private.
    Anonymous
    #264531
    This reply has been marked as private.
    Trevor
    #264574

    It appears the you have modified the results.php to match your theme, and that is OK to do. But, I think Ajax is not refreshing the page correctly because of this. Can you test with Ajax disabled?

    Anonymous
    #264582

    Yes i made my own template for the results.php that i put in my-theme/search-filter as explained in this page https://searchandfilter.com/documentation/search-results/using-a-shortcode/

    I just disabled Ajax, as you can see, the page reloads at each search but the custom template is not loaded at all.

    Trevor
    #264643
    This reply has been marked as private.
    Anonymous
    #264674
    This reply has been marked as private.
    Trevor
    #264762
    This reply has been marked as private.
    Anonymous
    #264767

    Thank you for your answer and yes it works!
    You made me save so much time, thank you for your great and quick help.
    Have a nice day
    Leslie

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