Sharing Templates Across Sites
Export a template as a JSON file and import it on any other WordPress site running BF Blocks. Useful for agencies, teams, and freelancers maintaining a shared block library.
Exporting a Template
- Go to BF Blocks → Templates → My Templates.
- Find the template you want to export.
- Click the three-dot menu → Export as JSON.
- A
.jsonfile is downloaded to your computer.
Importing on Another Site
- On the destination site, go to BF Blocks → Templates → Import.
- Click Choose File and select your JSON file.
- Click Import Template. The template appears in My Templates.
- Insert it from the template library to create a block.
Agency Workflow
Agencies typically maintain a master block library site — a private staging WordPress install where templates are built and kept up to date. When starting a client project:
- Export the full template library from the master site.
- Import on the client's new site.
- Customise as needed per project.
Use WP-CLI for automation
In a CI/CD or scripted deployment context, use wp bf-blocks import ./templates/ to import a directory of JSON files in one command. See WP-CLI Commands →