Forums Forums Search & Filter Pro Ajax problems

Viewing 9 posts - 1 through 9 (of 9 total)
  • Anonymous
    #101336

    Hello,

    I recently bought your plugin, and I gotta say it’s an awesome piece of software and I like it very much, BUT.. I’m having some problems with the ajax features.

    I’m using WordPress 4.7.3 with X theme 4.6.4. What I’m trying to set up is to have a search & filter module in the sidebar, that only appears on the archive/single pages for custom post type: video. I managed to get it working, but only in PHP mode. If I turn on Ajax, then the module does not work. I can see that it changes the URL in the address bar, but does not actually reload the contents. The display method is post type archive. I haven’t modified anything, basically everything is at default settings, just selected the post type and added some fields. Again, if I turn off Ajax, it works flawlessly.

    I was curious, and I tried it with the blog post type, and it seems to be working there with Ajax too, so I guess this has to do something with the X theme and/or custom post types.

    Also, the background process for building the cache does not seem to be working, and I can’t figure out why. How would I go about debugging what’s causing the background process problem?

    Thanks in advance!

    Regards,
    Clay

    Trevor
    #101344

    For the Ajax question, I would need to see a working page?

    For the cache question, it is almost impossible to figure why it would not work, but it will be server configuration that stops it. We have yet to figure what causes it though.

    Anonymous
    #101353

    Alright, I created a test website to show it in action. Looks like I was wrong, it does not seem to work for default ‘post’ type either.

    http://junkie.tk/blog -> this one uses the default post type and ajax mode, not working
    http://junkie.tk/videos -> this one uses custom post type video and uses ajax mode, not working
    http://junkie.tk/photos -> this one uses custom post type photo and doesn’t use ajax, is working

    Info:
    WP 4.7.3
    X Theme 4.6.4

    Plugins:
    Cornerstone
    CPT UI
    Search & Filter Pro
    Widget Logic

    Trevor
    #101362

    In one of the forms (maybe all) the Ajax Results Container is still set to the plugin default of #main but for your theme it needs to be #x-main. Try that.

    Anonymous
    #101369
    This reply has been marked as private.
    Trevor
    #101371
    This reply has been marked as private.
    Anonymous
    #101374
    This reply has been marked as private.
    Trevor
    #101507

    My bad 🙁

    The Results container should have been .x-main (a . instead of a #). I also enabled Auto Count.

    I only edited the videos form, but the others should work once you change them.

    Anonymous
    #101513

    Oh man, that is awesome. Thank you so much Trevor!

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