Forums › Forums › Search & Filter Pro › Ajax not loading content
- This topic has 3 replies, 2 voices, and was last updated 9 years, 4 months ago by Anonymous.
-
Anonymous(Private) June 26, 2015 at 2:48 pm #20327
Hi Support,
This is my first time using the Search & Filter Pro, it’s really a great plugin.
I’ve run into one issue loading the content with Ajax, it’s basically not working. I’ve been through the forum looking for help, tried to use non Ajax, that worked. Also tried something mentioned in a previous forum post, content selector set to .blog-posts-content, this also showed the results in a new page. I tried switching off custom template and various other things. I don’t get any javascript errors, and the DIV I’m trying to load into is fading in and out on select.
So this a last resort, I’m not just been lazy (this time anyway!).
The page I started building the form in is this: http://ontwerpenindeklas.moscrop.nl/ready-to-go/
The DIV ID is #axcontent
Any help or tips would be very much appreciated, thanks in advance.
All the best,
RupertRoss Moderator(Private) June 26, 2015 at 4:59 pm #20333Hey Rupert
I’m not sure what your original problem was, but using the shortcode method does make it easier for setting up ajax – check out the pros and cons of each method here:
http://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/display-results/
To customise the results generated by the shortcode method see here:
This should be what you need, any custom CSS you create should go in the right place in your theme – usually
style.css
.Thanks
Anonymous(Private) June 29, 2015 at 9:26 am #20416Hi Ross,
Thanks for the quick response. The original problem I had was using Display results ‘As an archive page’, which for some reason didn’t work. I switched to using ‘Using a shortcode’, placing both the shortcodes in the template, and that works fine. Not sure what didn’t work with the ‘As an archive page’, but it doesn’t matter now, this works perfectly.
Great plugin!
Cheers,
Rupert -
AuthorPosts