WP Manifestindependent plugin directory
manifest / editor / my-first-block

My First Block

A simple Gutenberg block - Alert Box

by Mahbub · github.com/ormahbub/my-first-block · website

★ 0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/ormahbub/my-first-block/archive/refs/heads/main.zip

My First Block - Alert Box

A simple Gutenberg block for creating styled alert messages.

Features

  • Three alert types: Info, Warning, Success
  • Toggle icon visibility
  • Live preview in editor
  • Customizable messages

Installation

  1. Download or clone this repository
  2. Run npm install
  3. Run npm run build
  4. Upload to /wp-content/plugins/
  5. Activate in WordPress admin

Usage

Add "Alert Box" block from the block inserter, choose type, and add your message.

Development

  • npm start - Development mode with hot reload
  • npm run build - Production build