Forums Forums Search & Filter Pro Integration with Advanced Custom Fields

Viewing 10 posts - 11 through 20 (of 22 total)
  • Ross Moderator
    #19426

    Ok I had a look

    It doesn’t matter what a user searches there is always no results.

    This is because of a problem in your template.

    Please see this question about options and possibly how to fix:
    http://www.designsandcode.com/wordpress-plugins/search-filter-pro/faqs/#h-bad-template

    Thanks

    Ross Moderator
    #19427
    This reply has been marked as private.
    Ross Moderator
    #19429

    Ajax is working on this link – If is search for arduino and press submit, the results update.

    If I change the category dropdown on this link the results also update, via ajax.

    Please check again.

    Thanks

    Ross Moderator
    #19430

    Also I have noticed, you are not using the latest version of the plugin I sent you.

    Thanks

    Anonymous
    #19431

    Yes is strange I’ve uploaded the beta you gave me but still I see the 1.4.3

    I remember ajax working even for checkbox. Now it works just for dropdowns?

    I think I’ll have to find another solutions then if this plugin can’t be used on my theme.

    Anonymous
    #19433
    This reply has been marked as private.
    Ross Moderator
    #19434
    This reply has been marked as private.
    Anonymous
    #19435
    This reply has been marked as private.
    Ross Moderator
    #19437

    Yes exactly

    By default, when a page loads, your content is hidden.

    Then your theme (probably) runs a script when a page loads, and fades in your content in a nice style.

    Now as I explained before, when making an ajax request, S&F (or any other plugin) will fetch that page, grab the results, and put them inside the results area.

    But, because it is an ajax request, the script used by your theme to “fade in” your projects when the page loads is not run.

    Any plugin loading your content via ajax will have this issue, the content is hidden.

    So you have 2 options:

    1) disable ajax, so whenever a form is submitted, your page will refresh and load the scripts from your theme

    2) when S&F completes its ajax request (and loads the results, which are still hidden) run a script to show your results. This is something you would need to write yourself, or, something that may be accessible from the theme as simple as a function call.

    As a really last after thought, if it was a plugin and not your theme causing this fading effect then you could disable the plugin.

    To be honest, if you want to use a theme/template file for displaying your results I think you will run in to the same issue with any plugin if you also wish to use Ajax

    Thanks

    Anonymous
    #19438

    All clear Ross thanks I’ll text to the theme owner to understand where is this script and if I can somehow recreate the page template on the child theme.

    thanks for the support

Viewing 10 posts - 11 through 20 (of 22 total)