Custom Boilerplate Tokens

Along with the set of default tokens, the MainWP Boilerplate Extension allows you to create your own custom tokens.

Create Custom Tokens

  1. Login into your MainWP Dashboard
  2. Go to the MainWP > Extensions > Boilerplate > Custom Tokens page
  3. Click the Create Custom Token buttonCustom Boilerplate Tokens 1
  4. Modal will showCustom Boilerplate Tokens 2
    1. Add Token Name
    2. Add Token Description
    3. Click the Save button

After saving the new token, the token will appear in the Tokens table. From here, you can Edit or Delete it.

Also, from this moment, the token will be added to the Boilerplate Settings option box on the child site edit page, where you can set values for the token.

When creating a new token, do not use [ ] symbols. The Boilerplate extension will add it automatically.

Set Values for Custom Tokens

  1. Login into your MainWP Dashboard
  2. Go to the MainWP > Sites > Manage page
  3. Locate one site and click the Edit actionCustom Boilerplate Tokens 3
  4. Locate the Boilerplate Settings option box
  5. Enter values for tokens that you intend to use
  6. Click the Update Site button
  7. Repeat steps 3 – 6 for the rest of your child sites