• I am using the WordPress shortcode function to embed the Infusionsoft inline form in a template. Here is my code:

    <?php echo do_shortcode('[inf_infusionsoft_inline optin_id="optin_1"]'); ?>

    The form displays ok (although the success message displays even before the form has been submitted). However, when you submit the form the page refreshed but no data has been captured by the form.

    When I use the short code in a wysiwyg the Infusionsoft inline form works ok. Is there a solution that would allow me to use the do_shortcode function and for the Infusionsoft form to function correctly?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter paragonn

    (@paragonn)

    For anyone else experiencing this problem. It looks like the do_shortcode function fails to add the Infusionsoft js for the form to the page. I manually added the js and it seems to have fixed the problem.

    Hey paragonn

    I am not a coder so when you mean you manually added the js what did that look like for the shortcode?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using shortcode not working’ is closed to new replies.