lighter version of MailPoet form embed code?
-
Firstly, what a wonderful plugin! We have been using your free version for a while and now recommend it to our managed hosting clients. Soon, we plan to upgrade to the agency license version of your Premium plugin.
For now, we are hoping to find a “lighter” way to embed the signup form into WordPress websites. Currently, the recommended form code is a bit heavy and includes a lot of javascript. Is it possible (already) or in the near future to have a way to POST the HTML form to a given URL so that it can open in a new window or somehow avoid any javascript? Or, perhaps at least cut down most of the javascript besides a “confirmation” message without all the jquery validation, etc.?
Using our homepage as an example, here is current code:
<!–START Scripts : this is the script part you can add to the header of your theme–>
<script type=”text/javascript” src=”https://www.littlebizzy.com/wp-includes/js/jquery/jquery.js?ver=2.6.16″></script>
<script type=”text/javascript” src=”https://www.littlebizzy.com/wp-content/plugins/wysija-newsletters/js/validate/languages/jquery.validationEngine-en.js?ver=2.6.16″></script>
<script type=”text/javascript” src=”https://www.littlebizzy.com/wp-content/plugins/wysija-newsletters/js/validate/jquery.validationEngine.js?ver=2.6.16″></script>
<script type=”text/javascript” src=”https://www.littlebizzy.com/wp-content/plugins/wysija-newsletters/js/front-subscribers.js?ver=2.6.16″></script>
<script type=”text/javascript”>
/* <![CDATA[ */
var wysijaAJAX = {“action”:”wysija_ajax”,”controller”:”subscribers”,”ajaxurl”:”https://www.littlebizzy.com/wp-admin/admin-ajax.php”,”loadingTrans”:”Loading…”};
/* ]]> */
</script><script type=”text/javascript” src=”https://www.littlebizzy.com/wp-content/plugins/wysija-newsletters/js/front-subscribers.js?ver=2.6.16″></script>
<!–END Scripts–><div class=”widget_wysija_cont html_wysija”><div id=”msg-form-wysija-html55effacaa8f32-3″ class=”wysija-msg ajax”></div><form id=”form-wysija-html55effacaa8f32-3″ method=”post” action=”#wysija” class=”widget_wysija html_wysija”>
<p class=”wysija-paragraph”>
<label>Email <span class=”wysija-required”>*</span></label><input type=”text” name=”wysija[user][email]” class=”wysija-input validate[required,custom[email]]” title=”Email” value=”” />
<span class=”abs-req”>
<input type=”text” name=”wysija[user][abs][email]” class=”wysija-input validated[abs][email]” value=”” />
</span></p>
<input class=”wysija-submit wysija-submit-field” type=”submit” value=”Subscribe!” /><input type=”hidden” name=”form_id” value=”3″ />
<input type=”hidden” name=”action” value=”save” />
<input type=”hidden” name=”controller” value=”subscribers” />
<input type=”hidden” value=”1″ name=”wysija-page” /><input type=”hidden” name=”wysija[user_list][list_ids]” value=”3″ />
</form></div>
Specifically, what function does
front-subscribers.js
perform and is it necessary to include in the MailPoet embed code? Thanks so much and many kudos to this wonderful newsletter plugin for WordPress.
- The topic ‘lighter version of MailPoet form embed code?’ is closed to new replies.