Forums Forums Search Search Results for 'results.php'

Viewing 10 results - 571 through 580 (of 1,224 total)
  • Author
    Search Results
  • #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.

    #160020

    Anonymous
    Inactive

    Hi,

    I would like to put this function outside of results.php to place it in a particular place:
    Found <?php echo $query->found_posts; ?> Results

    But that does not work (normal).
    It works if I slightly chance the function:
    Found <?php echo $wp_query->found_posts; ?> Results

    But it does not update when searching (Ajax).

    Is there a way to make it work?

    Thanks in advance.

    #159710

    Trevor
    Participant

    Hi

    Great to speak with you. Using your customised version of our results.php template file, you had excluded text searches and so needed to add a condition to check if they were being performed without using any of the other form controls, with:

    $sf_current_query->get_search_term()==""

    and

    $sf_current_query->get_search_term()==!"

    I will close this thread for now.

    #159138

    Trevor
    Participant

    It has changed a lot. With Avada, it is necessary to use the Shortcode Display Results method now, and the edit, modify and style the results.php to meet your needs, or use a page builder to make a page, one that is supported by Search & Filter, as the CodeCanyon Page Builder plugin from WPBakery is.


    Anonymous
    Inactive

    Hi there, I have a problem using ajax infinite scroll with s&f pro. I think I’ve discovered what the problem is but I don’t know how to solve it.

    I have a professionals section in my website. When I load the professionals using infinite scroll it loads each professional twice. When I tried using “normal” pagination in s&f with <a href="" class="load-more">load more</a> it doesn’t work at all. Is there any way of solving this? I think the main problem is that I’m loading twice the [shortcode]. I have the same search engine on header.php (in a dropdown menu) and then the same on proffessional-results.php page. When I disable the [shortcode] on header.php it works without any duplicates. However I want to keep the search engines in both places. If anyone can fix this i would be really grateful.

    Thank you,
    Alex

    #156689

    Trevor
    Participant

    Yes, there is.

    Can you follow the guidelines here for Customising the Results

    Then let me know you are done with that, and I will look at the code in results.php and edit it to give you smaller images. Did you want it like before? If so, I can do that.

    #155792

    Trevor
    Participant

    This one is correct, assuming that you are using the shortcode display results method:

    /wp-content/themes/speakerstardom/search-filter/results.php

    With regard to the movie demo. It is possible to replicate what you see if you have the same theme; TwentyFourteen. If you have a different theme, then you will need to create the post layout in the multi-post (archives) page from within the theme, or hand code the PHP (as we did in that demo) by editing one of the theme’s own template files, or use a page builder plugin that can build grids, or use our shortcode display results method and edit the results.php template file, as shown in our documentation:

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

    Are you able to send me a live link/URL to your search page so I can take a look?

Viewing 10 results - 571 through 580 (of 1,224 total)