MailerLite – Signup forms (official)


MailerLite – Signup forms (official) plugin

The Official MailerLite signup forms plugin makes it easy to grow your newsletter subscriber list from your WordPress blog or website. The plugin automatically integrates your WordPress form with your MailerLite email marketing account.

If you don’t have MailerLite account yet, you can signup for a FREE trial here.

Once you activate the plugin, you’ll be able to select and add any of the pre-built webforms from your MailerLite account or create a new form from scratch. You can place the form in the sidebar using a widget or use a shortcode to put it wherever you want.

Setup is fast and easy! You just need to enter your MailerLite account API code and you’re all set.

Plugin features include:

  • Easily-to-add webforms from MailerLite to your WordPress blog or website
  • Option to create new webforms
  • WordPress 5 new editor support
  • Save subscribers automatically to your MailerLite account
  • Place webforms using widget or shortcode
  • Double opt-in signup
  • Updated plugin layout
  • Automate welcome emails from your MailerLite account

Arbitrary section


  • screenshot-1.jpg
  • screenshot-2.jpg
  • screenshot-3.jpg
  • screenshot-4.jpg
  • screenshot-5.jpg
  • screenshot-6.jpg


This plugin provides 1 block.

  • MailerLite signup form


Method 1

  1. Login to your WordPress admin panel.
  2. Open Plugins in the left sidebar, click Add New, and search for MailerLite plugin.
  3. Install the plugin and activate it.

Method 2

  1. Download the MailerLite plugin.
  2. Unzip the downloaded file and upload to your /wp-content/plugins/ folder.
  3. Activate the plugin in WordPress admin panel.


  1. After successful installation you will see MailerLite icon on the left sidebar. Click it.
  2. Enter your MailerLite account API key. You can find it in your MailerLite account by clicking “Developer API” link in the bottom of the page.
  3. Click “Add New Signup Form” .
  4. Choose “Webforms created using MailerLite” if you wan’t to use a signup form that you already created in your MailerLite account or “Custom signup form” if you want to create it now.
  5. If you want to include signup form in the sidebar of your blog or website, go to Appearance > Widgets and drag “MailerLite signup form” to the sidebar. Choose which signup form to display.
  6. If you want to include signup form inside your post or page, use shortcodes. You will see MailerLite icon in your content editor, click it and choose which form to display. It will put a shortcode (for example [mailerlite_form form_id=1]) and your visitors will see signup form in that place.



  • Requires PHP5 and CURL.

What is the plugin license?

  • This plugin is released under a GPL license.

What is MailerLite?

MailerLite is easy to use web-based email marketing software. It can help you create and send email newsletters, manage subscribers, track and analyze results.

Do I need a MailerLite account to use this plugin?

Yes, you can easily register at

How to display a form in posts or pages?

Use shortcode with form id which you created [mailerlite_form form_id=1].

How to display a form in widget areas like a sidebar?

Just add “MailerLite signup form widget” and select form you have created

How to display a form in my template files?

Use the load_mailerlite_form($id) function.

if( function_exists( 'load_mailerlite_form' ) ) {

How can I style the sign-up form?

You can use CSS rules to style the sign-up form, use the following CSS selectors to target the various form elements.

Every form can be different, because element ID of form is:


Elements of form can be styled.

.mailerlite-form .mailerlite-form-title {} /* the form title */
.mailerlite-form .mailerlite-form-description {} /* the form description */
.mailerlite-form .mailerlite-form-field label {} /* the form input label */
.mailerlite-form .mailerlite-form-field input {} /* the form inputs */
.mailerlite-form .mailerlite-form-loader {} /* the form loading text */
.mailerlite-form .mailerlite-subscribe-button-container {} /* the form button container */
.mailerlite-form .mailerlite-subscribe-button-container .mailerlite-subscribe-submit {} /* the form submit button */
.mailerlite-form .mailerlite-form-response {} /* the form response message */

Add your custom CSS rules to the end of your theme stylesheet, /wp-content/themes/your-theme-name/style.css. Do not add them to the plugin stylesheet as they will be automatically overwritten on the next plugin update.

Where can I find my MailerLite API key?

Check it here!


Январь 1, 2022-ж.
I installed the plugin since a while, but it has no effect, nothing appear to setup or configure the popups. Actual version of mailer lite officially not tested (1.4.9) with current version of WP (5.8.2).
Август 18, 2021-ж.
Plugin works great - I know other people have had trouble with it, but I found it easy and intuitive to integrate. MailerLite has the best support team ever!
Май 20, 2021-ж.
It's working well for me so far as purely a mailing list signup mechanism. However, I'd like to be able to add new site member signups to the mailing list too (with their permission, of course). (I have Paid Memberships Pro on one site, which I did have working with Mailchimp, and LearnPress with WooCommerce on the other.) Not sure I'm techy enough to get to grips with using Zapier or some other middleman app to do this!
Май 7, 2021-ж.
This is a good plugin to add a for fairly quick and easy. If you are trying to do anything more, you will run out of luck fast. There are no settings or useful code hooks (actions or filters) for customizing redirect to landing page or other useful tricks with forms.
Апрель 1, 2021-ж.
I have no clue how I can get the new created forms visible in Wordpress... I tried a couple of times to add the API key again. And that worked, until the last time. But overall, I really like how easy it is to get the forms created AND visible in Wordpress. No issues what so ever.
Февраль 18, 2021-ж.
I got errors on activation and errors on trying to create a form, which I reported in the WordPress support forum. No response after over a month. The widget quit working, as I also described in the support request. The link for where to get the API key, doesn't go to the place to get an API key. It's apparently trying to do a search of your help system, but the search fails, so basically it's just a link to the help system. When designing a form in the plugin: The label for the firstname field is "Name". So you have "Name" and "Last Name". There's no way to customize the field labels. There's no way to specify that we want a checkbox field for the user to select groups. There's no way to specify which fields are required vs. optional. It asks which groups as the first step before creating the form, when that could just be part of editing the form, so that screen is unnecessary. The default form description is "Just simple MailerLite form!". This is a poor default both because it's ungrammatical, and because nobody would want this to appear above their form. The default success message is "Thank you for sign up!" which is ungrammatical. There's no option for a consent checkbox as required by GDPR.
Read all 19 reviews

Contributors & Developers

“MailerLite – Signup forms (official)” is open source software. The following people have contributed to this plugin.




  • Fix – deactivate issue
  • Tested up to latest WP version


  • Fix – wp_nonce for cached pages


  • Fix – Input validation
  • Tested up to latest WP version


  • Update – API update
  • Tested up to latest WP version


  • Fix – Include Universal js


  • Fix – Form clear issue


  • Tested with WordPress 5.8.3
  • Update – Gutenberg plugin in plain JS


  • Update – Plugin display name
  • Tested up to latest WP version


  • Forms are embedded with the new method
  • 1k limit to webforms API request


  • Fix – Gutenberg add / edit form fix


  • Tweak – Embedded forms subdomain changed


  • Fix – Gutenberg script enqueue called action method was non-static


  • Fix – Additional security for AJAX calls


  • Fix – Additional security for database queries


  • Fix – removed use of deprecated php method


  • Fix – Styles on form description bug
  • Update – Added a Load more button for groups on the creation stage phase.
  • Update – Hidden api key


  • Tweak – Show more than 100 groups when creating a custom form
  • Tweak – Renamed some classes to avoid fatal errors from other plugin having the same class names
  • Tweak – Reformatted code to WordPress code style
  • Tweak – Loading custom form javascript after window load for better optimisations
  • Tweak – Switched loading jQuery validate plugin from MailerLite CDN to your local WordPress site


  • Feature – Status page to provide information about your environment
  • Tweak – Even better support for older PHP versions in main plugin file
  • Fix – Plugin’s stylesheet is only included in pages where it is required


  • Tweak – Better support for older PHP versions in main plugin file


  • Fix – Subscriber adding bug


  • Fix – Form edit redirect not working


  • Fix – Form block js file version bump


  • Fix – “Media views” block bug


  • Feature – WordPress 5 block
  • Feature – Double opt-in feature
  • Tweak – New admin design
  • Update – The plugin uses MailerLite API V2 from now on


Check WP 5.0 support


API url fix


Test new WordPress


Updated forms (GDPR compatible)


release fix


fix form protocol


mistype fix in version no


adding en_US locale language translation files


some small php notice errors fixed. More clear tooltips about embed forms. Popup script settings moved to settings page. Added en_US locale translations (the same as en_EN)


short php open tag fix


bigger curl timeout for API call, temporary


fixed translations, added english .po/.mo files, added “please wait” message translate option to custom forms


updated jquery validation script URL to use


small bugfixes


curl error showing, empty embed form bugfix, other bugfixes


translation fixes


mistype fix for old versions


translation errors for LT language, allowing only embed and button forms


  • providing support for older PHP versions


  • file_get_contents changed to cURL


  • custom thank you message added


  • tested with 4.6 version


  • multisite support


  • post escaped with stripslashes_deep


  • mistype – signing up


  • fixed app static script url


  • fixed old syntax constructors in API classes


  • option to activate popup form


  • popup webforms added


  • php notice fix


  • fixed jquery bug


  • some problem with version number


  • wordpress issue bug fix


  • updated readme and version constants


  • tested with up to 4.5.1 wordpress. version. Added list of languages for validation messages. Fixed mistype “sign up”


  • added php,wordpress and curl version checks before activation


  • fix db queries for update


  • links to https, db update charset


  • Updated links to knowledge base about api key, changed db charset for table – utf8_bin


  • Removed new lines for some cases


  • Empty form description allowed


  • Fix mistype in curl method


  • Version fix


  • Some code refactor, array fixes for PHP older than 5.4


  • Curl safe mode fix


  • Fix shortcode popup


  • Fix shortcode


  • Fix embedded form cache


  • Fix for WP 4.0


  • Subscribe button update


  • jQuery load update


  • Small changes


  • Added translations


  • First release