Export & Import
Take Your Blocks Anywhere
Export any block definition as a portable JSON file and import it into any WordPress site running BF Blocks. No rebuilding, no copy-paste, no developer needed.
Get Started FreeHow It Works
Three steps to move a block from one WordPress site to another.
Build your block
Create and configure your block in BF Blocks on your development or staging site.
Export as JSON
Click Export in BF Blocks, select your block, and download a portable JSON file in one click.
Import on any site
Upload the JSON on any WordPress install with BF Blocks. Your block appears instantly.
Who Uses Export & Import
Agencies
Build a standard block library once. Deploy the same blocks to every client site in seconds. Maintain consistency without maintaining multiple codebases.
Freelancers
Build your personal block library over time. On every new project, import your best blocks and customise from there — cutting setup time in half.
Dev Teams
Version your block JSON files in Git alongside your theme code. Deploy block updates via CI/CD using the WP-CLI import command.
What Gets Exported
- ✓Field definitions (type, label, key, settings)
- ✓Block settings (name, slug, icon, category, keywords)
- ✓PHP template overrides (if any)
- ✓Linked templates
- ✓Block metadata and supports config
Not included in exports
Page content, post data, and media files are never included. Exports contain only the block definition — not the content editors have added.
CLI export — version your blocks in Git
# Export a single block wp bf-blocks export \ --block=testimonial \ --output=./blocks/testimonial.json # Export all blocks wp bf-blocks export \ --all \ --output=./blocks/ # Import on another site wp bf-blocks import ./blocks/testimonial.json
Build Once, Deploy Everywhere
Export & Import is included in all BF Blocks plans.