[WordPress] 外掛分享: Convert Blocks to JSON

首頁外掛目錄 › Convert Blocks to JSON
WordPress 外掛 Convert Blocks to JSON 的封面圖片
30+
安裝啟用
尚無評分
19 天前
最後更新
問題解決
WordPress 4.0+ PHP 7.4+ v1.3.0 上架:2024-09-26

內容簡介

### 摘要:
這個外掛提供了一個強大的方案,以 JSON 格式導出和導入 WordPress 區塊,讓您更容易管理和重複使用區塊結構在不同的項目中。尤其適用於採用前端原理驅動的無頭 CMS 方法的開發者和網站擁有者,使用像 React、Vue 等工具。

### 問答:

- **問:這個外掛對於哪些使用者有益處?**
- 答:這個外掛對採用前端原理驅動的無頭 CMS 方法的開發者和網站擁有者特別有益處,可以使用像 React、Vue 等工具。

- **問:使用這個外掛可以帶來哪些好處?**
- 答:透過無縫地在不同環境中轉移區塊數據,您可以保持一致性、優化內容更新的流程,提升開發工作流效率。

- **問:如何貢獻這個外掛的開發?**
- 答:如果您想要為這個外掛的開發做出貢獻,您可以在 GitHub 上找到它。要建置,請先克隆存儲庫,然後運行 yarn install && yarn build。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Convert Blocks to JSON」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin offers a powerful solution for importing and exporting WordPress blocks in JSON format, making it easy to move posts across different WP websites. It is also beneficial for WP engineers who are adopting a Headless CMS approach and would like a way to be able to fetch data from the front-end using tools like React, Vue & so on.
It’s simple, yet very powerful!
✔️ Features
Our plugin comes with everything you need for your WP blocks.
✔️ Import & Export WP blocks across multiple WordPress websites.
✔️ Convert WP blocks to JSON easily & quickly.
✔️ Useful for Headless CMS websites or front-end projects working with React, Vue & so on.
✔️ Available in mutiple langauges such as Arabic, Chinese, Hebrew, Hindi, Russian, German, Italian, Croatian, Spanish, French, Japanese, Indonesia, Turkish, Polish, Dutch, Danish, Brazil & Portuguese languages.
✔️ Multiple custom hooks to enable you customize plugin to your heart’s delight.
✔️ Backward compatible, works with most WP versions.
✨ Getting Started
Create a new Post or open an existing Post. Locate the Convert Blocks to JSON icon at the top right corner of the Block Editor and click on it. From here you can do the following actions:

View JSON – Generate JSON data of the post you are working on.
Import JSON – Import JSON data from a JSON file to the post you are working on.
Export JSON – Export JSON data of the post to a JSON file.

You can get a taste of how this works, by using the demo link.
✨ Why can’t I upload JSON files?
You might need to configure the ALLOW_UNFILTERED_UPLOADS option in your wp-config.php file like so:
define( 'ALLOW_UNFILTERED_UPLOADS', true );

⚡ Why Convert Blocks to JSON

This plugin is useful for users who want to be able to import and export articles or posts between different WordPress sites easily.

This plugin is beneficial for WP engineers who are adopting a Headless CMS approach and would like a way to be able to fetch data from the front-end using tools like React, Vue & so on.

🔌🎨 Plug and Play or Customize
The Convert Blocks to JSON plugin is built to work right out of the box. Simply install, activate and start using in your Block Editor.
Want to add your personal touch? All of our documentation can be found here. You can override the plugin’s behaviour with custom logic of your own using hooks.
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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon