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 page
  3. In the Available Tokens section:Boilerplate - Create Custom Token
    1. Add token
    2. Add token description
    3. Click the Save button

After saving the new token, the token will appear at the bottom of the list. From here, you can Edit or Delete it.

Boilerplate - Custom Token

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 link under the site title in the Site column
  4. Locate the Boilerplate Settings option boxBoilerplate Token Settings
  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