Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BattiBlocks

Custom Gutenberg blocks for WordPress.

Requirements

  • WordPress 6.3+
  • Node.js 18+

Setup

  1. Install dependencies:

    npm install
  2. Build assets for production:

    npm run build
  3. Start development watcher:

    npm start

Adding Blocks

  • Add a new folder under src/blocks/ with a block.json and block files.
  • Export the block from src/index.js.
  • Run npm run build to generate assets in build/.

Plugin Structure

  • battiblocks.php plugin bootstrap
  • blocks.php block registration
  • src/ block sources
  • build/ compiled assets

About

WordPress Gutenberg blocks plugin

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages