Forums Forums Search & Filter Pro Ajax not loading content

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #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,
    Rupert

    Anonymous
    #20332

    Ok, seemed to have solved this by using a Shortcode, probably elementary to people that use this a lot, but I’m a first timer.
    Another question arises, how can I edit the css generated by the Ajax call?
    Thanks

    Ross Moderator
    #20333

    Hey 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:

    http://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/display-results/with-a-shortcode/

    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
    #20416

    Hi 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

Viewing 4 posts - 1 through 4 (of 4 total)