Forums Forums Search & Filter Pro Button popup not function in result search and filter pro plugin

  • This topic has 6 replies, 2 voices, and was last updated 10 years ago by Anonymous.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Anonymous
    #7275

    Nice Plugin…
    But problem with button popup integrate to search & filter plugin, … I have modified a file php custom search-filter template, I put do_shortcode in it… is not worked, any clue?

    Ross Moderator
    #7299

    Hey Twofic, I’m not sure I follow you – would you be able to explain what you did, or provide the exact code from “do_shortcode”?

    Thanks

    Anonymous
    #7389

    Thankyou for reply, Ross
    I add the codes in template search :
    $project_fields = get_post_meta(get_the_ID(), ‘ci_cpt_project_info_fields’, true);
    <?php echo do_shortcode(‘<span class=”pl-pesanbutton vc_btn vc_btn-blue vc_btn_md vc_btn-md vc_btn_rounded”>’.$project_fields[5].'</span>’);?>
    Shortcode to show popup from popup ninja plugin.
    In other plugin that code, yes it work, but in search & filter plugin not yet until now… can this fix it?

    Ross Moderator
    #7391

    Do you have a an example I can see online?

    I can’t really offer much support for other plugins but I’d like to take a look at what you are trying to do.

    Anonymous
    #7392

    frontpage mywebsite : http://www.pesantravel.co.id
    with box plugin for Visual composer popup can show up. plugins it’s under search & filter plugin
    Thankyou for your quick response.

    Ross Moderator
    #7451

    Hey twofic

    So if I follow you right… you want to be able to search, and then when search is complete, attach a popup script to the results?

    I think this will help – http://www.designsandcode.com/wordpress-plugins/search-filter-pro/faqs/ – check the JS functions

    You need to add this to the JS of your theme:

    $(".searchandfilter").on("sf:ajaxfinish",function(){
        console.log("ajax complete - attach popup code here");
        //so load your lightbox or JS scripts here again
    });

    And then add your custom JS code when the results have finished loading.

    PS, you are using an outdated version of the plugin – the latest version is much faster! 🙂

    Thanks

    Anonymous
    #7456

    Thank’s Ross.
    It seem after update your plugin, pop up now show up.. so I didn’t modification at all,
    lol, thankyou for update… ^_^

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