-
AuthorSearch Results
-
November 11, 2019 at 1:32 pm #226247
In reply to: Customizing Results page (AJAX)
TrevorParticipantIf you are referring to the Shortcode display results method, the exemplar results.php template a file (and the equivalent infinite scroll version) use standard WordPress Codex coding, and so there is nothing constructive we can add to our documentation that is not already said in that Codex, or in many third party blog posts about creating archive template pages.
November 7, 2019 at 11:42 am #225999In reply to: Elementor with Search and Filter
TrevorParticipantUsing the Shortcode method, you can edit the results.php file. See this post:
November 1, 2019 at 3:39 pm #225303In reply to: Results URL changing on paging
TrevorParticipantAll looks OK from what I can see, other than it has the wrong URL on the pagination. The one thing I can see is the template for that page.
I assume you are using custom results.php files, so can you upload the one for this page to a file sharing site and share the download link for that with me?
October 30, 2019 at 3:55 pm #225144
AnonymousInactiveI put it in the loop in the results.php file…
Image ‘0’ in the files shared below has the action highlighted.
1mage ‘1’ has the ‘add to wishlist’ button being rendered as expected on the front end. when loading the page using the results.php file to list the custom posts. However when I select a checkbox in the search form, the result are filtered by ajax, and those results no longer have the add to wishlist button on them..that is shown in image’2′
October 29, 2019 at 2:25 pm #224982In reply to: ACF Form Field Not Showing Results
TrevorParticipantOne problem that I can see is that you have customised the results.php file, but both forms are set to use Infinite Scroll, and I think you customised the standard results.php content.
In the plugin/templates folder you will find an infinite scroll version. You need to use the contents of that instead, but the file must still be named results.php
I am far from sure that is the problem, but that does need fixing first. Note the names of the divs in that file. If you change them (
search-filter-results-list
andsearch-filter-results-list
), you must complete the fields in the form settings with what you have used.October 21, 2019 at 5:49 pm #224261In reply to: Problem with Counter
TrevorParticipantSomething very odd is happening. The form is set to use Infinite Scroll, see here:
https://www.screencast.com/t/E6csXTaRoa
So the results should not show pagination. Then I had an idea.
In the plugins/search-filter-pro folder are two templates. Both are examples. To use them, you need to follow the customising guide here:
https://searchandfilter.com/documentation/search-results/using-a-shortcode/#customising-the-results
You will need to make a new folder,
search-filter
(NO-pro
) and place in that the version of the file you need. For infinite scroll, you must copy theresults-infinite-scroll.php
file to that new folder in your theme folder, then rename it toresults.php
Otherwise, the infinite scroll will not work.
Unless you want to use normal pagination?
October 21, 2019 at 1:54 pm #224232In reply to: Get number of results in a form
TrevorParticipantIn the standard results.php template that the shortcode method uses, it shows the results count. Is this what you meant that you want, or have you deleted that part of the template PHP?
October 21, 2019 at 11:10 am #224209In reply to: Translate English text in plugin
TrevorParticipantAre you using the Shortcode method? If so, you need to follow the customising guide here:
https://searchandfilter.com/documentation/search-results/using-a-shortcode/#customising-the-results
And use the numbering the filename option instead of a generic results.php file, and then you can translate those strings directly in the specific language versions. Each language will have its own form with its own ID number that you use.
October 18, 2019 at 8:20 pm #224152
TrevorParticipantIt can be included in the results.php file, yes.
What they appear to be saying is, ask us, Search & Filter, for how to use a script in their theme? If so, that would tend to suggest that they have used someone else’s code.
Looking through what is loaded, I figured it was in the file:
https://socodevi.flywheelsites.com/wp-content/themes/ave/assets/vendors/jquery-ui/jquery-ui.min.js
But that file is minified, and, I think, a combination of many jQuery widgets.
October 18, 2019 at 6:56 pm #224146
AnonymousInactiveHere’s what the theme author replied: Could you ask them for the fix? Unfortunately, 3rd party plugin support doesn’t include with the support according to Envato policy.
For your code snippet, do I have to insert in my results.php? -
AuthorSearch Results