• Resolved Anonymous User 11589261

    (@anonymized-11589261)


    Hello,
    With the latest version of the plugin, PHP snippet doesn’t work anymore. Shortcode works, but I need a PHP snippet to integrate with my theme.
    Alternative, is possible to add Created form via PHP snippet?

    PHP Snippet used:
    <?php es_subbox( $namefield = “NO”, $desc = “”, $group = “Public” ); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Kishan Ranawat

    (@kishanranawat)

    Hi there,

    Thanks for reporting this issue.

    We are able to replicate it on our end. Just to confirm the issue, the form is having an extra email field and the form submission isn’t working. Can you please confirm if you are facing a similar kind of issue or something else?

    For your query related to showing created form using PHP snippet, currently, there isn’t a function available inside the plugin but you can refer following PHP snippet which uses WordPress built-in function do_shortcode to show the form.

    <?php 
      echo do_shortcode( '[email-subscribers-form id="2"]' );
    ?>

    Note: You can get the required form shortocde i.e. [email-subscribers-form id=”2″] from the Forms page under the Email Subscribers menu.

    Hope this helps you.

    Thank you.

    Thread Starter Anonymous User 11589261

    (@anonymized-11589261)

    Yes, I confirm, that the PHP snippet generates an extra email field and the form submission isn’t working!

    Plugin Contributor Kishan Ranawat

    (@kishanranawat)

    Hi there,

    Thanks for your patience and coordination.

    We have fixed this issue and have released a new version 4.7.6 with the fix.

    Please update to the latest version and let us know how it goes.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP snippet doen’t’ is closed to new replies.