Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/aartikhunti/newsletter-block/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A custom Gutenberg block for WordPress that renders a newsletter signup form on posts/pages. The plugin submits the form to a custom REST API endpoint, validates the email, and sends a confirmation email to the subscriber.

Features
- Gutenberg block for newsletter signup.
- Front-end form submission via a custom REST API.
- Client-side and server-side email validation.
- Sends a confirmation email on successful subscription.
- Accessible and responsive UI design.
Installation
- Download the plugin zip or clone the repository.
- Upload to your WordPress site under
wp-content/plugins/. - Activate the plugin from the WordPress admin dashboard.
- Add the block to a post/page using the Gutenberg editor.
Usage
- Fill in the first name, surname, and email address fields.
- On submission, a confirmation email is sent to the subscriber.
- Validation errors are displayed inline.
Author
Aarti Khunti