This repository has been archived by the owner on Jul 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Mike England edited this page Mar 31, 2020
·
5 revisions
This plugin is a baseline for creating Gutenberg projects. To get started follow directions in the repo.
- In the command line navigate to
wp-content/plugins
and clone this repo usinggit clone [email protected]:WebDevStudios/wds-block-starter.git
. - Next
cd
intowds-block-starter
. Before moving forward if you need to rename the plugin follow the Updating Plugin Name (see section below) instructions. - Run
composer install
to setup coding standards and vendor dependencies. - Run
npm install
to install dependencies and generate assets after installation. - Activate the plugin and begin development.
- Rename the root directory to desired name Ex:
wds-block-starter
changes toblock-starter-test
. - Rename
wds-block-starter.php
to match the directory name. Ex:wds-block-starter.php
changes toblock-starter-test.php
. - Update Plugin Heading in the main plugin file as needed.
- Do a search and replace for the namespace
BlockStarter
to something unique. - Do a search and replace for the plugin text domain
wdsbs
to something unique. - Next run
composer install
andnpm run build
.