Split: Split: Taxonomy Filters disappear on AJAX submit

Forums › Forums › Search & Filter Pro › Split: Split: Taxonomy Filters disappear on AJAX submit

  • This topic has 9 replies, 2 voices, and was last updated 11 years ago by Anonymous.
Viewing 10 posts – 1 through 10 (of 10 total)
  • Anonymous
    #26831

    Hi Ross,

    I have the same issue.

    After updating to 2.0.1 no search results after selecting a taxonomy and the filter is not showing after submitting the form via ajax.

    Please help!

    Ross Moderator
    #26868

    Sent, let me know if it works.

    Thanks

    Anonymous
    #26875

    Thanks for sending me the update.

    I deactivated the plugin, uploaded the new version, activated the plugin and set the search results to displayed via ajax, but still no results returning and the filter not showing.

    Maybe it’s an issue with Polylang?
    You should still have the login, if you want to debug yourself.

    Anonymous
    #27086

    Hey Ross,

    it would be great if you could take a look at it.

    Ross Moderator
    #27402

    Hey Dirk I had a look, I think its because you are not setting up the translated forms properly.

    Something I noticed unusual with poly lang (or polylang with your setup) is when you are editing a Search form, and you select the + button to create a translation, it creates a completely separate version of the Search Form in the other language.

    What it needs to do is be “linked” to the original version, so go to the S&F overview screen, and hit the little pencil icon, to create your translated search form (much like the screenshots with the flags – http://www.designsandcode.com/documentation/search-filter-pro/3rd-party/wpml/)

    I created a test search form with the correct linking – you should be able to see the ones named “multilang” and a page created for this for testing.

    Thanks

    Ross Moderator
    #27403
    This reply has been marked as private.
    Anonymous
    #27405

    Hi Ross,

    thanks for your answer and time.

    I changed the post type in both search forms you setup to “Lodges” only and added a taxonomy field (Standorte = Locations) and now no search results are showing up.
    With your setup, the search was working, now with the custom post type, it’s not.

    Could you have a look at it please?

    Ross Moderator
    #27407

    Hi Dirk

    Ok I think I know whats going wrong, and its essentially a similar problem to what we had before that I supplied a fix for, but in your case it doesn’t seem to be working.

    How are you declaring your custom taxonomies?

    It seems like the S&F ajax request is being processed before you custom taxonomy is declared in the code.

    The correct place to declare WP taxonomies is via the init hook – as per the codex.

    S&F begins to handle the ajax request on the init hook, but with a really high priority (200) so it gets fired last, and should be fired after all taxonomies are created.

    Thansk

    Ross Moderator
    #27409

    Hey Dirk

    I had a look at the README in the S&F folder and it doesn’t look like you are using the latest version I sent, or perhaps I sent you the wrong version.

    I’ve just emailed you again – can you try the new zip?

    Thanks

    Anonymous
    #27414

    Thanks, Ross, now its working.

    I will do some more tests later, but so far it looks good 🙂

Viewing 10 posts – 1 through 10 (of 10 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.