YannBirba / first-block

Simple Wordpress gutemberg dynamic block

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

first-block

Simple Wordpress gutemberg dynamic block as a technical demo.

Development setup

Requirements

  • Node.js (v14 or higher)
  • NPM
  • Mysql database
  • PHP 7.4 or higher
  • Wordpress

Scaffolding

cd wp-content/plugins && npx @wordpress/create-block

Install

npm install

Start

npm run start

Build

npm run build

Installation

  1. Upload the plugin files to the /wp-content/plugins directory, or install the plugin through the WordPress plugins screen directly.

  2. Activate the plugin through the 'Plugins' screen in WordPress

  3. Use the block editor to add the block to a page or post.

Changelog

1.0.0

  • Initial release

About

Simple Wordpress gutemberg dynamic block

License:MIT License


Languages

Language:JavaScript 58.5%Language:PHP 30.8%Language:SCSS 10.7%