-
Search Results
-
Hi,
I could not find a suitable answer on this so, i had to start a topic.
I am using TwentySeventeen and Elementor Pro, but i have an issue here.
Let me tell you some details in case i missed something from the documentation (https://searchandfilter.com/documentation/3rd-party/elementor/).First of all, i have added 3 rows:
-1st row: text block[searchandfilter id="904" action="filter_next_query"]-2nd row: text block `<script>(function ( $ ) {
“use strict”;// detects when the ajax request has finished and the content has been updated
// re-init the layout scripts from Elementor
$(document).on(“sf:ajaxfinish”, “.searchandfilter”, function(){
elementorFrontend.hooks.doAction(‘frontend/element_ready/posts.classic’, jQuery(‘.elementor-widget-posts’));
});}(jQuery));</script>`
This i have found here “https://support.searchandfilter.com/forums/topic/elementor-pro-results-are-not-filtered-ajax/” and solved the mess up of the thumbnails’ height after making any choice.
-3rd row: Here i have created two subrows in the same row, so:
–1st subrow: text block[searchandfilter id="904"]
–2nd subrow: “Posts” from Elementor Pro. In the “Posts” i have made no changes in “Query” and “Pagination”. Only some minor changes in the “Layout” of the “Content” and the option “Masonry” here is set to “Off” if it is of any use to you.To continue with, i have added:
1)”Custom Display Method” in “Display results”
2).elementor-widget-postsin “Ajax Container”
3).elementor-pagination ain “Pagination Selector”
4)http://localhost/theURL/in “Results URL”, where “theURL” is the same as the one i have added all the mentioned above in the rows.The thing is…
After making a choice, the “Posts” subrow is refreshed but nothing changes. The results are not filtered at all.
Do i have to make any changes in the “results.php” that i have located in the folder “search-filter” in my theme’s folder, or this is only useful for the “Using a shortcode” in the “Display results method”?
Also, i have deactivated all of my plugins, except for
“Custom Post Type UI”
“Elementor”
“Elementor Pro”
“Search & Filter Pro”Sorry for the huge message, but i think it might prove to be necessary.
Thanks in advance.Topic: Can't set ajax pagination
Hello,
I am trying to set ajax pagination on search page but ajax is not working on my pagination, I have search page in child theme and in that search page we echoed the anywhere-elementor template also anywhere-elementor template contains search and filter pro shortcode inside it, my ajax pagination selector is inside the ajax container. my ajax container id is == #aesearchfilter and my ajax pagination selector is == .ae-pagination-wrapper a
please have a look at attached image url for better understanding
https://screenpresso.com/=VMOY
https://screenpresso.com/=CxRrb
https://screenpresso.com/=ZFLlf
https://screenpresso.com/=JYbTfThis is the url to search page
search pageThanks
Topic: Elementor Template
Hello,
How do I get my search results to use my Elementor Archive template. I chose search results in the “preview dynamic content as” section, as well as when I published the template, but the results are still using wordpress’ archive page. I have looked at the documentation, but I am still confused. Can someone be of assistance?
Hey there,
So I have your plugin working really nice on desktop using Ajax filtering.
Sadly on mobile, it just is not filtering as options are selected.
Is there any reason, or settings for this?
I am using in conjunction with Elementor with your tutorial instructions.
Hey there,
I have been trying to troubleshoot my site as the ajax seems to not be working with elentor instructions.
I followed, but no updates to posts with Ajax.
I checked the solutions on the forum, but no luck.
Could you give me a hand?