Search Results for 'results.php'

Forums › Forums › Search › Search Results for 'results.php'

Viewing 10 results – 631 through 640 (of 1,344 total)
  • Author
    Search Results
  • #166174

    Anonymous
    Inactive

    Hi. I´m in the first steps of setting up the plugin and I have some issues. I´m using Avada Theme and Woocommerce, and I need Search&Filter to search for products. I´m trying to create a simple search form that displays the results using shortcodes. I´m not sure if I can use grid view of my theme to show results (I guess I need to create a results.php file in my Child Theme) but the first problem I have is pagination doesn´t work. If I make a simple search, I get the first pagination page but can go to the second page using “older posts” link. It always loads the first results, even on infinite scroll view. Can you please take a look? Thanks!!!

    http://www.tienda.cepeonline.es/formacion-2/

    #165916

    Trevor
    Participant

    We do not have code to make a column/grid for you in the shortcode method.

    You can follow the Customising the Results documentation (so you have your own copy of the results.php file). The you can edit/customize the file as you wish.

    It IS possible to add code from your own theme that would make a grid, if your theme has such code visible on other pages so that you can inspect it to copy it.

    #165807

    Trevor
    Participant

    Did you follow the Customising the Results documentation (so you have your own copy of the results.php file), and did you do any customisation to the file (as by default it has a ‘No Results Found’ message)?

    #165631

    Anonymous
    Inactive

    Hello Trevor and thanks for your support!

    This did not worked as i ‘d like but i manage to change the results.php file and get what i nedd as a result.

    Once again thanks!


    Anonymous
    Inactive

    I have chosen the display results method “As Archive” with a custom template (results.php), which is working pretty well. I’ve also placed my custom template code on the various archive/taxonomy pages so they all have the same look and I can use the filters there as well, which is mostly working well.

    I am not sure if having the same basic code in my taxonomy and archive templates as I do in my custom results template is the best approach but it was the only way I could see to make this work. Am I going about this the right way?

    For example, I have a custom taxonomy called “type”. I have the same code on my taxonomy-type.php as I do on my results.php template so that if I use the filtering I see the same thing as if I click on an archive link for that taxonomy. So
    domain.com/type
    looks the same as
    domain.com/results/?_sft_type=blog

    I’d really like to use the pretty url and I am also concerned about having duplicate content issues, so I am wondering how to get the urls to match when filtering. I see in your Modify URLs section, you can use sf_results_url but it states this is mainly for changing protocol and that there can be unexpected results. Would using this method work here or if you would suggest another method?


    Trevor
    Participant

    My guess is that you are using the shortcode display results method? If os, follow this customising guide:

    https://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/#Customising_the_Results

    And edit the local theme folder copy of results.php and find and remove this:

    Found <?php echo $query->found_posts; ?> Results<br />
    Page <?php echo $query->query['paged']; ?> of <?php echo $query->max_num_pages; ?><br />

    At the top (on the original file at lines 29 and 30.

    And also this line towards the bottom (line 73):

    Page <?php echo $query->query['paged']; ?> of <?php echo $query->max_num_pages; ?><br />
    
    #162109

    Trevor
    Participant

    You may need to figure where those parts of the page came from (a plugin or hand coding), and fix them.

    Not connected with the above, I see that you are using our shortcode method of displaying results. Did you edit the results.php file, or leave it as standard?

    #161561

    Trevor
    Participant

    You might better off (it will be much easier) using the Shortcode Display Results method. If you follow the customisation guidance, you can edit the results.php file that we provide. See the documentation here:

    https://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/

    #161114

    In reply to: Nothing found message


    Anonymous
    Inactive

    Cheers Trevor. After you pointing me in the right direction I hound a no-results.php page in my theme that is causing this.

    #160149

    In reply to: Update "found posts"


    Trevor
    Participant

    Ajax only updates part of your page. Anything inside the container that it updates will change, but you may have inserted the count outside that container. In the shortcode method, what is inside results.php gets refreshed, what is outside does not.

Viewing 10 results – 631 through 640 (of 1,344 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.