• Resolved Atoupro

    (@atoupro)


    Hi,

    I’d like to integrate an Icegram Popup in a Contact Form 7 form.

    The shortcode [icegram campaigns=”XXX”]Click[/icegram] does not work. Do you have another way to write this shortcode (with html tag for example)?

    Thanks in advance.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Atoupro

    (@atoupro)

    I found the code below to add in functions.php. It works but tell me if you have another solution.

    add_filter( ‘wpcf7_form_elements’, ‘mycustom_wpcf7_form_elements’ );
    function mycustom_wpcf7_form_elements( $form ) {
    $form = do_shortcode( $form );
    return $form;
    }

    Best regards.

    Plugin Support Shubhanshu Kandani

    (@shubhanshukandani)

    Hi @atoupro,

    Thanks for reaching out to us!

    The reason why the Icegram Engage popup shortcode isn’t working in the Contact Form 7 (CF7) form. It’s because CF7 doesn’t load shortcodes from other plugins in the form HTML for security reasons.

    However, the good news is that if you’d still like to use the Icegram Engage popup with your CF7 form, you can simply add a CF7 filter in your theme’s functions.php file, which I see you’ve already done.

    Let me know if you need any help with this or if there’s anything else I can assist you with! 

    Plugin Support Shubhanshu Kandani

    (@shubhanshukandani)

    Hi?@atoupro ,

    We hope our previous replies were helpful in resolving your inquiry.

    I am closing this thread for now. Feel free to reopen it in case if you are still having issues or inquiries related to the plugin.

    Also if you have any other queries, you can open a new thread. We will be happy to assist you further.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.