This plugin is a companion to the Meta Box Basics Lab on Know the Code.
-
In terminal, navigate to
{path to your sandbox project}/wp-content/plugins
. -
Then type in terminal:
git clone https://github.com/KnowTheCode/meta-box-basics.git
. -
Then type in terminal:
cd meta-box-basics
-
Make sure you are on the
master
branch, which is your starting boilerplate.a. Type:
git branch
. What branch does it say you are on? Ifmaster
, go to step 5. Else, go to 4.b.b. Type:
git checkout master
. -
Log into your WordPress website.
-
Go to Plugins and activate the Meta Box Basics plugin.
Then go do the lab with me to build a meta box from scratch.