quick start

let’s make sure you have everything you need to start building gutenberg blocks in minutes.

Software Requirements

If you run into any issues make sure to check out our private facebook community:

Get a Text Editor

You’re going to need a text editor. If you don’t have one you can grab Visual Studio Code for free ( we use this in all our courses and videos ):

We don’t get paid by Microsoft to say this, but we recently made the switch from years of sublime text use and, there’s no going back!

Install Node.js

The create-block-plugin tool is a module for Node.js. You probably already have this installed. You can check by running this command:

node -v
v14.16.1

As of this writing we’re using v14.16.1. If you’ve got that or higher you should be good to go.

If you don’t have a version that’s higher than, that or if you don’t have Node.js installed, you can use one of their convenient installers here:

Install Docker Desktop

docker -v
Docker version 20.10.5

As of this writing we’re using version 19.03.12. If you’ve got that or higher you should be good to go.

We’ve baked in the official WordPress env package that makes it a breeze to fire up a local Docker development server with WordPress, the TwentyTwenty theme, and your brand new generated plugin all installed.

You can of course generate a plugin in any directory you want, and if you’ve got a development setup you love, you can do just that. But we’re huge fans of Docker and it’s pretty dang fun to build WordPress sites, themes and plugins with. At the very least it’s worth trying it out.

You can install Docker Desktop for your operating system here:

Install Composer

composer -v
Composer version 2.0.4

As of this writing we’re using version 2.0.4. If you’ve got that or higher you should be good to go.

We use Node.js and NPM for node packages and you’re going to need to install Composer for php packages. We use the Composer autoloader to autoload php classes for your plugin.

Hopefully you’ve already got this installed as well. If not head on over here to install it ( this can be painful for me to install, if you run into issues hit up the facebook group and we’ll get you figured out ):

Optional Addons

If you want to get the most bang for your buck you may want to take a few minutes and setup a couple other things to really leverage the power of the create-block-plugin package.

Create a Github Account

Every time you generate a new starter plugin you are given the opportunity to setup a new local git repo and a remote git repository on Github. Whether you’re familiar with working with git or not, we highly recommend using github not just for version control, but also as a backup in case you accidentally delete your plugin on your computer.

Furthermore, once you’re ready to start publishing your plugin in the WordPress directory, we’ve baked in some very convenient and timesaving github actions that allow you to EASILY publish and release updates of your plugin to the WordPress plugin directory.

Install WP-CLI

wp --info
WP-CLI version: 2.4.0

As of this writing we’re using version 2.4.0. If you’ve got that or higher you should be good to go.

Finally, if you’re going to be publishing plugins in the WordPress plugin directory, or releasing them internationally, we recommend installing wp-cli. We’ve baked in a few scripts that make it SUPER simple to provide the internationalization template files you’re going to need to go global.

I would wait until you need this though, as I seem to always run into issues when installing wp-cli and I wouldn’t do it until you need it.

wpplugin

The Fastest way to
Learn, Build, & Publish WordPress plugins.