Forums Forums Search & Filter Pro Filtering doesn t work

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

    http://www.vasslaw4.radevic.com/category/publications-en/

    categories:

    Publications
    –Articles
    –Features
    –Guides

    Filtering doesnt work if i select from dropdown so show me publicatins under guides only it doesn t work, any ideas why?

    Ross Moderator
    #12425

    Hey again

    You’re right the filter is not working – this is because none of the JS that comes with the plugin is being loaded.

    I checked the source and require JS files are not there – I’m guessing you’ve done something to remove them?

    If not another plugin may be greedy and removing some scripts on your site that should be loading.

    Thanks

    Anonymous
    #12472

    could you please help me a bit more out here? i would need more info how to trouble shoot this, the site is almost done, this is one of the requirements missing and i went with a commercial solution in case i needed support

    thanks

    i have the following installed

    Advanced Browser Check

    Akismet

    BackupBuddy

    Black Studio TinyMCE Widget

    Disable Comments

    Event Rocket

    Google XML Sitemaps

    Jetpack by WordPress.com

    List category posts

    MailChimp for WordPress Pro

    PHP Text Widget

    Search & Filter Pro

    Simple Image Widget

    Sitemap

    Team Showcase

    The Events Calendar

    The Events Calendar: Facebook Events

    The Events Calendar PRO

    Widgetkit

    Widget Logic

    WPML CMS Nav

    WPML Multilingual CMS

    WPML String Translation

    Ross Moderator
    #12474

    Hi Nemanja

    I can only offer support for this plugin – not other plugins – something in your setup is doing something non-standard or very unusual to say the least.

    I can’t help you fix those plugins – but I can give you some general recommendations:

    Disable all other plugins one by one and test the site after each one – until they are all disabled..

    Did the problem go away at any stage? An easy way to check if the scripts are loading is to look at the source code of your page and look for “search-filter-build.js”.

    If not, try changing your theme to default WP theme.

    Did the problem go away?

    If the problem is still there then let me know and I will take another look in the “clean” (and temporary) setup to debug.

    The thing things is – we use the WordPress standards for loading scripts – so it seems like something is interfering with this. Looking at your source, the CSS is being loaded, but not the JS – very strange!

    Thanks

    Anonymous
    #12475

    well you do understand i cannot just disable the theme it will remove all my text widgets!

    i did this another time and a ready site took me 10 hours to rebuild

    anyways i will go through the steps to disable some plugins on a test environment

    a bit frustrating, isn t there any way i can just load this JS in the body tag and get done with it? or is it a bad idea

    thanks

    Ross Moderator
    #12478

    Hey Nemanja

    I understand – but its the only way to isolate an issue – however if you are using a test environment then I would just create a backup of this and restore once testing is complete – that way you’ll have your widgets etc reverted after testing.

    I think it is possible to manually load a script – but the best bet is normally to identify the problem, rather than just work around it.

    If you did want to go this way then you will need to check examples on how to load scripts in your theme:

    http://codex.wordpress.org/Function_Reference/wp_enqueue_script
    http://www.wpbeginner.com/wp-tutorials/how-to-properly-add-javascripts-and-styles-in-wordpress/

    And for your reference, I believe the only essential JS file to load from S&F is located:

    wp-content/plugins/search-filter-pro/public/assets/js/search-filter-build.js

    Which has a jQuery dependency (jQuery must already be loaded)

    Thanks

    Anonymous
    #12503

    hello

    Problem is my theme… but i obviously cannot change my theme over this 🙁

    is there any way i can make this work?

    give me an email and i will share with you dropbox zip file with importbuddy.php and you can easily extract as well?

    How do we make this work, my theme is yootheme katana

    i can send that over dropbox as well

    Anonymous
    #12504

    ok i included it manually

    so if anyone else has a yootheme with warp7 framework, the way to do this is:

    open theme.config.php in your style

    and find comment // add scripts

    at the bottom just add

    $this[‘asset’]->addFile(‘js’, ‘/wp-content/plugins/search-filter-pro/public/assets/js/search-filter-build.js’);

    this will load this js on every page, unfortunately i cannot figure a better way out 🙁

    Ross Moderator
    #12513

    Thanks for the information! Unfortunately I am unable to guess how all themes work especially with very customised logic, so I’m sure this will help someone out there!

    Best

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