-
AuthorSearch Results
-
October 5, 2021 at 10:10 am #276352
In reply to: Custom Layouts
AnonymousInactiveHello,
I understand the idea behind the plugin and the new approach but the fact that the old way does not work anymore is not really helpful.
I had a nice custom php template for my search and filter ( that got deleted after each update hence the fact that I did not update for so long ).
But now it does not work at all. As I’m only using a single search filter on my website I simply edited the results.php in the template folder, but the old way of creating a custom php file was really nice and easy, I don’t understand why this functionnality was removed.
February 12, 2021 at 3:09 pm #275672In reply to: Showing all posts
TrevorParticipantThe code in that results.php already shows the featured image, with size ‘small’ I think from memory. To remove the excerpt, there is one line outputting that, so delete it. The same goes for any other line, e.g. category, date etc.
February 12, 2021 at 2:28 pm #275664In reply to: Showing all posts
TrevorParticipantWe used to have an integration for Post Grid (it was relatively simple), but it no longer works. The Post Grid we have never supported.
If you need a totally custom solution, the only way would be write your own template within our Using a Shortcode method’s results.php template, as briefly discussed here:
https://searchandfilter.com/documentation/search-results/using-a-shortcode/#customising-the-results
Note, we DO support Anywhere Elementor and Dynamic Posts, the documentation is here:
https://searchandfilter.com/documentation/3rd-party/elementor/
https://searchandfilter.com/documentation/3rd-party/dynamic-content-elementor/February 9, 2021 at 11:17 am #275575In reply to: Infinite scroll suddenly stopped working
AnonymousInactiveHi, I’ve just replaced our results.php with the infinite scroll one and it’s returned to the default styling but infinite scrolling isn’t working.
I’ve created a test version of it here:
https://poledancing-therapist.com/test-video-search/February 6, 2021 at 10:52 am #275458In reply to: Infinite scroll suddenly stopped working
TrevorParticipantThis will require some troubleshooting steps to be taken.
It is very important that, even when customising the results.php template, you try to keep these class names:
search-filter-results-list
search-filter-result-itemAnd use the basic structure that can be seen in the exemplar results-infinite-scroll.php file. Some of the commented out HTML makes me think your code started out with the results.php exemplar template instead.
So, how to test?
If you set aside the customised results.php file you are using (rename it), and instead use our default results-infinite-scroll.php (renamed to results.php), does the issue still happen?
February 5, 2021 at 4:42 pm #275382In reply to: Results in secondary languages not working
TrevorParticipantI looked at both pages, and they both use form #4261
In our plugin, used with WPML, the form must be translated using WPML, so, editing that form in WP Admin, this + button:
https://www.screencast.com/t/PPMXYo6NtNN
once translated, you may need to edit the form and make sure all the settings are correct (fields, and settings within fields) for the new language.
The Results URL will be different also, see the note about the Shortcode method at the foot of this documentation page:
https://searchandfilter.com/documentation/3rd-party/wpml/
Note, if you are using the Shortcode method and a customised results.php template, the template may need to change (to translate some strings for example), and as each form has its own ID, use the numbering method described almost at the end of this documentation page:
https://searchandfilter.com/documentation/search-results/using-a-shortcode/
February 3, 2021 at 8:34 am #275195In reply to: Stop Infinite scroll after a filter is applied
TrevorParticipantThe form itself is set to the ‘Shortcode’ display results method, as you show here is this screenshot:
You must be using the results.php template file. Let me explain.
In this screenshot:
You show on line 141 that you are calling the ‘results’ for the form with that shortcode.
So, the page is using the tpl-vacatures.php template, but that shortcode then includes in to the page the results.php file.
The results that appear on the page, and the infinite scroll loop, are coded in that results.php template file, which should be in a
search-filter
folder in your child theme folder.February 3, 2021 at 7:26 am #275186In reply to: Stop Infinite scroll after a filter is applied
AnonymousInactiveHi Trevor,
No, i don’t use results.php file to display my results.
I display all my results with the S&F results shortcode, in a page with specific template > tpl-vacatures.php .
Here’s the entire template, including filter shortodes (search form shortcode and results shorcode) > https://www.codepile.net/pile/7YgDrapv
Then i set up the search form to display results using shortcodes in this page > https://www.haldugroep.nl/vacatures/
https://prnt.sc/y49e7tI followed the shortcodes setup instruction to set it up correctly. Effectively results are loaded on my page.
Hope i didn’t miss anything…February 2, 2021 at 5:01 pm #275108In reply to: Stop Infinite scroll after a filter is applied
TrevorParticipantBut you have customised the results.php file, yes? Can you share that customised file with me? IF you post the content directly here, please post any code inside code ticks (one before the code, one after)? On my UK Windows keyboard, the code tick key is next to the 1 key in the standard part of the keyboard. If you do this Google search and look at the images, they show various keyboards and where the key is located:
https://www.google.com/search?q=back+tick+code+key
Alternatively, you could share the file with me via a file sharing site.
February 2, 2021 at 9:42 am #274944In reply to: Stop Infinite scroll after a filter is applied
TrevorParticipantAs a test, if you set aside the customised results.php file you are using, and instead use our default results-infinite-scroll.php (renamed to results.php), does the issue still happen?
I am wondering if it is the structure of the HTML of your customised version that is the issue.
-
AuthorSearch Results