WP Manifestindependent plugin directory
manifest / email / custom-gutnerberg-plugin

SAM Newsletter

A Gutenberg block plugin created by Manan

★ 0stars

Install

Download source zip No release zip yet

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/mananazam20/custom-gutnerberg-plugin/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

SAM Newsletter Plugin

A WordPress plugin that provides a custom Gutenberg block for collecting and managing newsletter subscriptions. Built with professional development practices suitable for a SaaS environment.


✨ Features

  • Custom Database Table: Stores subscriber name, email, and signup date.
  • Gutenberg Block: “SAM Newsletter” block with name & email fields.
  • Responsive Design: Matches native WordPress UI styles.
  • AJAX Submission: Frontend form submission without page reload using rest api.
  • Client-Side Validation: Ensures required fields are valid before submission.
  • Admin Dashboard Page: View all submissions (most recent first), with optional search/filter.
  • Activation/Deactivation Hooks: Automatically creates and cleans up database table.

📦 Installation

  1. Download or Clone
    
    git clone https://github.com/mananazam20/Custom-Gutnerberg-Plugin