Table of Contents

Custom Boilerplate Tokens

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

Create Custom Tokens

  1. Login in to 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.
Avoid creating tokens that our reserved for our Clients functionality and Pro Reports extension: [client.city] [client.contact.address.1] [client.contact.address.2] [client.contact.name] [client.email] [client.name] [client.phone] [client.site.name] [client.site.url] [client.state] [client.zip] [client.facebook] [client.twitter] [client.instagram] [client.linkedin] [client.country] [client.note] [client.created] [client.contact.name] [contact.role] [contact.email] [contact.phone] [contact.facebook] [contact.twitter] [contact.instagram] [contact.linkedin]

Set Values for Custom Tokens

  1. Login in to 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
Still Have a Questions?
Search for additional solutions in the MainWP Community or start your own discussion