Skip to content

A WordPress Admin interface and a simple templating system for building custom Gutenberg blocks.

License

Notifications You must be signed in to change notification settings

spencer-j/block-lab

 
 

Repository files navigation

Block Lab

Contributors: lukecarbis, ryankienstra, Stino11, rheinardkorf Tags: Gutenberg, Blocks Requires at least: 5.0 Tested up to: 5.1.1 Requires PHP: 5.4 Stable tag: trunk License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl

A WordPress Admin interface and a simple templating system for building custom Gutenberg blocks.

Description

With the Gutenberg update, WordPress users will increasingly look for the development of custom blocks to meet their unique needs. Block Lab reduces the development burden of building custom blocks through a simple and familiar WordPress Admin interface and an easy to learn templating system.

Features

A Familiar Experience

Work within the WordPress admin with an interface you already know.

Custom Fields

Add from a growing list of available fields to your custom blocks.

Simple Templating

Let the plugin do the heavy lifting so you can use familiar WordPress development practices to build block templates.

Developer Friendly Functions

Simple to use functions, ready to render and work with the values stored through your custom block fields.

Links

Installation

From Within WordPress

  • Visit Plugins > Add New
  • Search for "Block Lab"
  • Activate Block Lab from your Plugins page.

Manually

  • Clone Block Lab into a working directory with https://github.com/getblocklab/block-lab.git
  • cd into the block-lab directory, and run npm install
  • Next, build the scripts and styles with npm build
  • Move the block-lab folder to your /wp-content/plugins/ directory
  • Activate the Block Lab plugin through the Plugins menu in WordPress

Frequently Asked Questions

Q: Do I need to write code to use this plugin? A: Although the plugin handles the majority of the work in building a custom block, you will need to build HTML templates to display the content of the block. You can learn how in the the developer documentation.

Q: I have an idea for the plugin A: This plugin is open source and can only be better through community contribution. The GitHub repo is here.

Q: Where can I find documentation for this plugin? A: Here

Contributing

See Contributing to Block Lab.

About

A WordPress Admin interface and a simple templating system for building custom Gutenberg blocks.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 68.5%
  • JavaScript 19.7%
  • CSS 8.9%
  • Shell 2.4%
  • Makefile 0.5%