Skip to content

A custom plugin to collect emails, store them in the database, verify them with reCAPTCHA v3, and send a link to the first chapter of your book.

Notifications You must be signed in to change notification settings

stevenlawton/WP-Simple-Newsletter

Repository files navigation

Simple Newsletter Sign-Up with Hero Section

Contributors: steven lawton

Donate link: https://stevenlawton.com/donate

Tags: newsletter, sign-up, email, subscription, Gutenberg, hero section, GDPR

Requires at least: 5.0

Tested up to: 6.0

Requires PHP: 7.0

Stable tag: 1.0

License: GPLv2 or later

License URI: https://www.gnu.org/licenses/gpl-2.0.html

A simple and elegant plugin to create a newsletter sign-up hero section with reCAPTCHA v3 integration, designed for use with the Gutenberg block editor.

Description

Simple Newsletter Sign-Up with Hero Section is a WordPress plugin that helps you create a visually appealing hero section for collecting newsletter sign-ups directly from your website's homepage or any other page. The plugin is designed to work seamlessly with the Gutenberg block editor, allowing you to add and customize a newsletter hero section with ease.

Key Features:

  • Hero Section Block: Add a customizable hero section to any page using the Gutenberg editor.
  • Customizable Design: Easily change the background image, headline, subheadline, and call-to-action button text.
  • GDPR Compliance: Includes an optional checkbox for users to agree to receive emails, helping you stay compliant with GDPR and other email marketing laws.
  • reCAPTCHA v3 Integration: Protects your sign-up form from spam submissions by integrating with Google reCAPTCHA v3.
  • Incentives for Subscribers: Optionally offer a free chapter of your book or other incentives to encourage sign-ups.
  • Mobile Responsive: The hero section is fully responsive, ensuring a great user experience on all devices.
  • Analytics Ready: Integrate with Google Analytics to track form submissions and optimize your sign-up process.

This plugin is perfect for authors, bloggers, and marketers who want to increase their email list by offering valuable content in exchange for sign-ups.

Installation

  1. Upload the plugin files to the /wp-content/plugins/simple-newsletter-hero-section directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Navigate to any page or post in the Gutenberg editor.
  4. Add the "Newsletter Hero Section" block to your page.
  5. Customize the block by editing the headline, subheadline, and button text.
  6. (Optional) Update the plugin settings to modify the background image and colors directly within the block editor.

Frequently Asked Questions

How do I change the background image for the hero section?

You can change the background image by editing the block settings directly in the Gutenberg editor. Select the "Newsletter Hero Section" block, and then upload a new image or choose one from your media library.

Can I customize the text and button colors?

Yes, you can customize the text and button colors within the block settings. The block includes color pickers for easy customization.

Is the plugin GDPR compliant?

The plugin includes an optional checkbox that users must check to agree to receive emails, helping you comply with GDPR and other email marketing laws.

Does the plugin protect against spam?

Yes, the plugin integrates with Google reCAPTCHA v3 to protect your sign-up forms from spam and bot submissions.

Screenshots

  1. Hero Section on Frontend - A screenshot showing the hero section as it appears on the frontend.
  2. Block Editor Settings - A screenshot showing the block settings in the Gutenberg editor.

##Changelog

1.0

  • Initial release.

Upgrade Notice

1.0

Initial release of the plugin.

License

This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this plugin; if not, see https://www.gnu.org/licenses/gpl-2.0.html.

About

A custom plugin to collect emails, store them in the database, verify them with reCAPTCHA v3, and send a link to the first chapter of your book.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages