Piotr Kunicki wrote:Hi,
This form has only visual layer, it's only demo example, you have to configure or connect it with some newsletter plugin (e.g. Wysija).
Hello,
I would like to ask how to add about Wysija code into newsletter in gkSimplicity.
Wysija code is:
widgetdata=array(
'widget_id' => 'wysija-nl-php-1', //form identifier important when many subscription forms on the same page
'lists' => array ( 0 => '4', ), //array of list_id to which you want to subscribe your users
'submit' => 'Subscribe!', //name of the subscribe button
'success' => 'You\'ve successfully subscribed. Check your inbox now to confirm your subscription.'//success message returned when registered
);
$widgetNL=new WYSIJA_NL_Widget(1);
$subscriptionForm= $widgetNL->widget($widgetdata,$widgetdata);
echo $subscriptionForm;
What should I add in Simplicity?:
<form class="gk-form">
<div><input type="email" placeholder="Email address ..."> <input type="submit" value="Get Started today!"></div>
</form>
thanks
Daniel