Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1493971

    Dear Sirs,

    I am using Gravity forms and thay recommend popup maker plugin. I have therefore created a pop up with the form embedded using avia layout builder and using the button in the content elements tab. I have set up a popup called Brochure Website with the gravity form embedded with a css class of popmake-5288 but cant seem to get this to work. I have also added some php from another enfold forum see below but if even if I add this on a text block the popup short code to be selected but and when I select brochure website it wont save the trigger from here?

    Please note I have added this also

    Can you help

    Code now in functions php

    function avf_alb_supported_post_types_mod( array $supported_post_types )
    {
    $supported_post_types[] = “popup”;
    return $supported_post_types;
    }
    add_filter(‘avf_alb_supported_post_types’,’avf_alb_supported_post_types_mod’, 10, 1);

    function my_custom_exec_sc_only( $exec_sc_only, $obj_sc, $atts, $content, $shortcodename, $fake )
    {
    /**
    * Return if true – Enfold already requested an execution because of preview in backend
    * Otherwise this is likley to be false.
    */

    if( true === $exec_sc_only )
    {
    return $exec_sc_only;
    }

    return true;

    /**
    * Make your checks here – make sure to return boolean true if you want to force execution
    *
    * Following is an example to allow it for all ajax calls.
    */

    if( defined( ‘DOING_AJAX’ ) && DOING_AJAX )
    {
    return true;
    }

    return $exec_sc_only;
    }

    add_filter( ‘avf_alb_exec_sc_only’, ‘my_custom_exec_sc_only’, 10, 6 );

    #1494005

    Hey condonp,

    Thank you for the inquiry.

    Do you want to enable the ALB for the popup maker? We are not sure if this is possible and we may need to check the element to properly understand the issue. Please create a test page, then include the URL in the private field.

    Best regards,
    Ismael

    #1494013

    I have now found another plugin (Pop Up Builder) to use with Gravity forms that now works so this can be closed.
    Thanks
    Pete

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Pop Up Maker’ is closed to new replies.