This plugin offers a powerful solution for exporting and importing WordPress blocks in JSON format, making it easier to manage and reuse block structures across different projects. It is particularly beneficial for developers and site owners who are adopting a Headless CMS approach on the front-end that is powered by tools like React, Vue & so on.
With the ability to seamlessly transfer block data between environments, you can maintain consistency, streamline content updates, and enhance the efficiency of your development workflow.
Contribute
If you’d like to contribute to the development of this plugin, you can find it on GitHub.
To build, clone repo and run yarn install && yarn build
1.0.4
- Provide graceful fallback for block arrays.
- Filter out empty|null blocks.
- Ignore
file_get_contents
warning. - Update Permalink structure if empty, flush rules.
- Tested up to WP 6.6.2.
1.0.3
- Replace
mt_rand
withstring
version for asset enqueuing. - Fix Bugs and Linting issues.
- Updated README notes with screenshots.
- Tested up to WP 6.6.2.
1.0.2
- Refactor: Use
is_user_permissible
for permissions callback. - Updated Unit Tests coverage.
- Tested up to WP 6.6.2.
1.0.1
- Added Import functionality.
- Custom Hooks –
cbtj_rest_import
. - New custom REST API endpoint –
cbtj/v1/import
. - Updated translation files to cater for Import modal window text translations.
- Added more Unit Tests coverage.
- Tested up to WP 6.6.2.
1.0.0
- Convert & Export Blocks to JSON.
- Custom Hooks –
cbtj_rest_response
. - Provided support for Arabic, Chinese, Hebrew, Hindi, Russian, German, Italian, Croatian, Spanish & French languages.
- Unit Tests coverage.
- Tested up to WP 6.6.1.
- Go to ‘Plugins > Add New’ on your WordPress admin dashboard.
- Search for ‘Convert Blocks to JSON’ plugin from the official WordPress plugin repository.
- Click ‘Install Now’ and then ‘Activate’.
- Proceed to your Block Editor and locate the top right corner.
- You should now see the ‘Convert Blocks to JSON’ icon available for use.
Reviews
0 out of 5 stars
- Version: 1.0.4
- Last updated: 1 week ago
- Active installations: 0
- WordPress version: 4.0
- Tested up to: 6.6.2
- PHP version: 7.4