block-lab

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

Github星跟踪图

Block Lab

Contributors: lukecarbis, ryankienstra, Stino11, rheinardkorf
Tags: gutenberg, blocks, block editor, fields, template
Requires at least: 5.0
Tested up to: 5.3
Requires PHP: 5.6
Stable tag: trunk
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl

The easy way to build custom blocks for Gutenberg.

Description

Gutenberg, the new WordPress editor, opens up a whole new world for the way we build pages, posts, and websites with WordPress. Block Lab makes it easy to harness Gutenberg and build custom blocks the way you want them to be built. Whether you want to implement a custom design, deliver unique functionality, or even remove your dependence on other plugins, Block Lab equips you with the tools you need to hit “Publish” sooner.

Features

A Familiar Experience

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

Block 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.

Connect with Community

Join The Lab, our free Block Lab Community on Slack. The Lab is our real-time home for sharing resources, learning, and making connections. Learn more.

Go Pro

Block Lab Pro is here, with powerful features to take your block building to the next level. Learn more.

Installation

From Within WordPress

  • Visit Plugins > Add New
  • Search for "Block Lab"
  • Install the Block Lab plugin
  • 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 && composer 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 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.

主要指标

概览
名称与所有者getblocklab/block-lab
主编程语言PHP
编程语言Makefile (语言数: 6)
平台
许可证GNU General Public License v2.0
所有者活动
创建于2018-07-30 01:19:14
推送于2021-03-31 01:32:46
最后一次提交
发布数9
最新版本名称v1.5.6 (发布于 )
第一版名称v1.4.0 (发布于 )
用户参与
星数415
关注者数16
派生数64
提交数1.9k
已启用问题?
问题数274
打开的问题数58
拉请求数305
打开的拉请求数11
关闭的拉请求数247
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?