Skip to content

How to Add a Subscription Box to Your Website

Add newsletter subscription forms to your website using WordPress widgets, shortcodes, or PHP template tags in Icegram Express.

Icegram Express allows you to place opt-in subscription boxes anywhere on your site using WordPress widgets, block shortcodes, or direct PHP template tags.

Method 1: Using a WordPress Block or Shortcode

You can embed a subscription form into any post, page, or widget area using the standard shortcode:

[email-subscribers-form id="1"]

Copying the subscription form embed shortcode in Icegram Express

Copying the subscription form embed shortcode in Icegram Express

You can create and customize multiple distinct forms under Icegram Express > Forms.


Method 2: Adding a Widget

  1. In your WordPress admin, go to Appearance > Widgets.
  2. Locate the Icegram Express widget and add it to your sidebar or footer.
  3. Select which form to display from the dropdown.
  4. Click Save.

Adding Icegram Express subscription widget to sidebar


Method 3: Using a PHP Template Tag

To hard-code the subscription box directly into custom WordPress theme template files (such as footer.php or single.php):

<?php 
if ( function_exists( 'es_subbox' ) ) {
    es_subbox( $namefield = "YES", $desc = "Join our newsletter", $group = "Public" );
}
?>