How to Add Subscription box to website

Email subscribers plugin have subscription box and it allows users to publicly 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).

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 wants to add group selection in the subscription box, please use Email Subscribers Advanced Form add-on.
  2. 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