Forums › Forums › Search & Filter Pro › ajax loading not working
- This topic has 86 replies, 2 voices, and was last updated 10 years, 2 months ago by Anonymous.
-
Anonymous(Private) June 3, 2014 at 2:20 pm #1165
Thanks a lot um trying to do what you said;)
I have updated the plugin and….it stopped searching->
take a look please:
http://maneuver.nazwa.pl/WWW/nstyle/?page_id=308Piotr
Ross Moderator(Private) June 3, 2014 at 2:35 pm #1166Hey Piotr
This looks like the same problem we were having yesterday? What did you do yesterday that made it start working?
The only thing I did yesterday was update the content selector, which should have no effect on the ability to load results…
:@
Anonymous(Private) June 3, 2014 at 2:42 pm #1168I want to achieve somehow the efect of displaying the records on a kind of a grid.
Something like this:
http://www.symphonywallcovering.com/products/search_result.php?color=BlueRoss Moderator(Private) June 3, 2014 at 2:48 pm #1169I thought I saw the masonry layout working with the search form before?
Try to clear your cache and disable and caching plugins you may have… There could be something interfering…
The plugin modifies the results of the main WP loop, so all your template needs to do is use this loop….
This should be completely possible unless your masonry plugin fetches the results using its own instance of WP_Query – which is not the right way to do it really…
Did the Masonry layout ever work with the search form? I thought I saw it did!
Ross Moderator(Private) June 3, 2014 at 4:19 pm #1178Hey Piotr
I’m going to try to help and point you in the right direction…
Basically, a good results template normally is an archive template or the search template (archive.php or search.php), so for this example lets choose search.php.
Duplicate
search.php
and call it something else (eg,sf-results.php
) – now we have a custom results template that is separate from the rest of your site…So for testing, make sure you set the template of your search results (in S&F settings) to
sf-results.php
.Now we have a clean template setup (not masonry yet) so test it is all working make sure you always use the search results url, which is this one: http://maneuver.nazwa.pl/WWW/nstyle/?sfid=55
Now we know this template is working we need to get it work with Masonry..
There are many tutorials on how to do this so I would recommend the following one, and make sure all modifications are to
sf-results.php
.http://www.bluelimemedia.com/2012/04/30/jquery-masonry-and-wordpress/
If you can follow this tutorial and get a layout working (forget about if the search works for now, just make sure the template is working then I can help you with the next steps… 🙂
BTW, if you can pls send me your login details (and FTP) and I will try to have a quick look myself – I have an idea which might make this all very easy.
Thanks
-
AuthorPosts