What You’ll Learn
- Creating and using boilerplate tokens
- Setting token values for child sites
- Publishing boilerplate posts and pages
- Editing and removing boilerplate content
Extension Add-on - This add-on provides standalone functionality within MainWP Dashboard. No third-party plugins required.
- Privacy Policy
- About Us
- Terms of Use
- Support Policy
How does the Boilerplate Extension Work?
After installing the extension, you can create custom placeholders (Tokens) that you will need in your commonly used pages and posts. For each of your child sites, add values for the tokens. When you are done with the setup, you can create one page with these placeholders and post it to all wanted sites. On each child site, the placeholders will be replaced with the custom values for the site. All your Boilerplate Pages and Posts will be saved and fully editable. With just a few clicks, you will be able to tweak a page on all your sites at once.Boilerplate Tokens
Boilerplate pages use tokens to be customized for each site without needing to be rewritten. Basically, in the source post, instead of using actual data, you can place tokens. After publishing, tokens will be replaced by actual values on each child site. The MainWP Boilerplate extension comes with a set of default tokens and the ability to create custom tokens. For both default and custom tokens, it is required to set values for each child site individually, which will replace the token on child sites after publishing a boilerplate post or page.Default Boilerplate Tokens
After installing the MainWP Boilerplate Extension, on the MainWP > Add-ons > Boilerplate > Custom Tokens page, you will be able to see the section with available tokens.
Along with a token, on the right-hand side, you can see the token description so you can get an idea of what to use it for.
Set Values for Default Tokens
Custom Boilerplate Tokens
Along with the set of default tokens, the MainWP Boilerplate Extension allows you to create your custom tokens.Create Custom Tokens
After saving the new token, the token will appear in the Tokens table. From here, you can Edit or Delete it. 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.
Set Values for Custom Tokens
Boilerplate Posts
After publishing a boilerplate post on your child sites, the post looks normal, just like any other WordPress post. After it’s created, the post will be visible normally in the WP > Posts > All Posts page on child sites. However, on the MainWP Dashboard side, the list of created Boilerplate posts is available in the MainWP > Add-ons > Boilerplate page, in the Boilerplate Posts tab. From here, you can Edit and Delete Boilerplate posts.Create Boilerplate Post
Compose the post using tokens as needed
Compose the post as any other WordPress post, but in the post body, you can use tokens where needed.
Tokens are allowed in Post Title and in the Post Body.
Tokens are allowed in Post Title and in the Post Body.Select your Child Sites where you want to publish this post
Select your Child Sites where you want to publish this post
How to insert Tokens
Tokens can be inserted manually by typing the token where it’s needed or by clicking on a token in the Tokens meta box. After clicking on a token, the token will be inserted in the post automatically.
Edit Existing Boilerplate Post
After clicking the Update button, updates will be applied to all child sites.
Add Existing Boilerplate Post to a New Site
If you have a Boilerplate post that you want to add to a newly connected child site, you can do that by following these steps:
After clicking the Update button, the boilerplate post will be added to new sites.
Remove a Boilerplate Post from a Child Site
If you have a Boilerplate post that you want to remove from one or multiple child sites, you can do that by following these steps:
After clicking the Update button, the boilerplate post will be removed from the unselected child sites.
Delete a Boilerplate Post
Important Notes: After clicking the Delete action, the boilerplate post will be removed from the extension database, but the actual posts will stay on your child sites.
Boilerplate Pages
After publishing a boilerplate page on your child sites, the page looks normal, just like any other WordPress page. After it’s created, the page will be visible normally in the WP > Pages > All Pages page on child sites. However, on the MainWP Dashboard side, the list of created Boilerplate pages is available in the MainWP > Add-ons > Boilerplate page, in the Boilerplate Pages tab. From here, you can Edit and Delete Boilerplate pages.Create a Boilerplate Page
Compose the page using tokens as needed
Compose the page as any other WordPress page, but in the page body, you can use tokens where needed.
Tokens are allowed in Page Title and in the Page Body.
Tokens are allowed in Page Title and in the Page Body.How to Insert Tokens
Tokens can be inserted manually by typing the token where it’s needed or by clicking on a token in the Tokens meta box. After clicking on a token, the token will be inserted on the page automatically.
Edit Existing Boilerplate Page
After clicking the Update button, updates will be applied to all child sites.
Add Existing Boilerplate Page to a New Site
If you have a Boilerplate page that you want to add to a newly connected child site, you can do that by following these steps:
After clicking the Update button, the boilerplate post will be added to new sites.
Remove a Boilerplate Page from a Child Site
If you have a Boilerplate page that you want to remove from one or multiple child sites, you can do that by following these steps:
After clicking the Update button, the boilerplate page will be removed from the unselected child sites.
Delete a Boilerplate Page
Important Notes: After clicking the Delete action, the boilerplate page will be removed from the extension database, but the actual pages will stay on your child sites.
Related Resources
- Posts/Pages Add-ons - Browse all content tools
- Pro Reports Tokens - Token reference guide
- Manage Pages - Page management guide

