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

  1. Go to BF Blocks → Templates → My Templates.
  2. Find the template you want to export.
  3. Click the three-dot menu → Export as JSON.
  4. A .json file is downloaded to your computer.

Importing on Another Site

  1. On the destination site, go to BF Blocks → Templates → Import.
  2. Click Choose File and select your JSON file.
  3. Click Import Template. The template appears in My Templates.
  4. 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:

  1. Export the full template library from the master site.
  2. Import on the client's new site.
  3. 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 →