How to Add Subscription box to website

Email Subscribers plugin have subscription box and it allows users to subscribe by submitting their email address. You can add subscription box to your website using posts/pages (using shortcode) or sidebar (using widget) or theme file (using PHP code).

For Version 4.0 and Higher

Using Shortcode
This can be used in any page or post within your website.

form-id : Replace this with you form ID.
You can find this shortcode in Forms dashboard.

Using Widget
Go to WordPress Dashboard -> Appearance -> Widgets. Drag and drop the Email Subscribers widget to your sidebar location. After adding widget, you can change :
Widget Title : A title for your subscribe form to show on widget.
Form : Select form which you want to set in widget.

Using PHP code
Copy and past the below mentioned php code to your desired template location (i.e in theme PHP file).
<?php es_subbox( $namefield = "YES", $desc = "", $group = "" ); ?>
namefield : Set it to YES if you want subscriber to enter their name. Else set it to NO.
desc : A description text that you want to show above subscribe form.
group : The group you want subscriber to go on (The mentioned group should be created and should have atleast one subscriber in it).

For version lower than 4.0

Using Shortcode
This can be used in any page or post within your website.
[email-subscribers namefield="YES" desc="" group="Public"]
namefield : Set it to YES if you want subscriber to enter their name. Else set it to NO.
desc : A description text that you want to show above subscribe form.
group : The group you want subscriber to go on – default is Public (The mentioned group should be created and should have atleast one subscriber in it).

Using Widget
Go to WordPress Dashboard -> Appearance -> Widgets. Drag and drop the Email Subscribers widget to your sidebar location. After adding widget, you can change :
Widget Title : A title for your subscribe form to show on widget.
Display Name Field : Select whether you want subscriber to enter their name. Default it YES.
Short Description : A description text that you want to show above subscribe form widget.
Subscriber Group : The group you want subscriber to go on – default is Public (The mentioned group should be created and should have atleast one subscriber in it).

Using PHP code
Copy and past the below mentioned php code to your desired template location (i.e in theme PHP file).
<?php es_subbox( $namefield = "YES", $desc = "", $group = "" ); ?>
namefield : Set it to YES if you want subscriber to enter their name. Else set it to NO.
desc : A description text that you want to show above subscribe form.
group : The group you want subscriber to go on (The mentioned group should be created and should have atleast one subscriber in it).

Recommended

  1. If you want to change form layout or perform any form related advanced options, use our another free plugin Rainmaker. Check here for – How to use Rainmaker’s form in Email Subscribers.
« Back to Email Subscribers