Create Block Theme


– 建立全新佈景主題、空白佈景主題、子佈景主題或樣式變化
– 列出及預覽字型系列,並將字型內嵌至佈景主題中
– 在佈景主題中內嵌 Google Fonts 網頁字型
– 在佈景主題中內嵌網站主機字型資源


步驟 1:設定

安裝並啟用 Create Block Theme 外掛。

登入 WordPress 管理後台後,在 [外觀] 中會出現 2 個新頁面:
– 建立區塊佈景主題
– 管理佈景主題字型

步驟 2:自訂樣式


步驟 3:匯出

在 WordPress 控制台中,前往 [外觀]→[建立區塊佈景主題] 區段,選取其中一項可用功能,並依需求為佈景主題加入詳細資料,style.css 會使用這些詳細資料。點擊 [產生] 按鈕,便能儲存佈景主題。



2022 年 11 月 18 日
This plugin will let you create a block theme easily. It generates all the code so you can focus on design. I hope the authors will keep up the good work on this plugin and add even more features in the future.
2022 年 10 月 31 日
Great plugin for creating child themes. It does two simple things - creating a child theme and configure Google Fonts. The plugin has great potentials and I think it can go a bit further to be a powerful toolset. As the plugin name suggests, it works only with block themes such as Twenty Twenty-Two and similar. When I have a non-block theme activated, the plugin link tabs don't show up at all, and I'm wondering why it's not working. To make the plugin a bit more user foolproof, the link tabs should show up anyway and provide some warning message when a non-block theme is active. Also I think we can go beyond the two simple functions of creating a child theme and Google Fonts. The option to add other online font services such as Adobe would be nice (maybe just an easy way the add their embed link.) It would be much more powerful if the plugin can somehow convert or configure non-block themes?
2022 年 9 月 29 日
I used it to create child theme and it worked. Why is this plugin not so popular? I've been wasting my time in creating child themes manually which used to be pain. I wish I knew this plugin earlier.
2022 年 9 月 23 日
This morning I was diving deeper into FSE and Block themes as a developer when I came across the realisation that you couldn't actually save changes in the site editor to the theme files in core. Annoying! That is until I was shared this plugin which not only enables saving user changes and overriding theme templates (without manually exporting a zip folder and replacing files) but a ton of other cool features like creating new block themes, creating child themes, cloning the current theme and more. Thank you for developing this functionality!
閱讀全部 10 則使用者評論


以下人員參與了開源軟體〈Create Block Theme〉的開發相關工作。


〈Create Block Theme〉外掛目前已有 8 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Create Block Theme〉外掛本地化為台灣繁體中文版


任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄



  • Fixes the spelling of definition
  • Fixing readme contributors
  • Add contributor username to readme
  • Update GitHub action to avoid deprecation warning
  • Update Google Fonts JSON data from API
  • Update Google Fonts JSON data from API
  • Check permission before running functions that need file write permissions
  • Allow previewing system font


  • Moving assets files to be auto updated by the release action


  • Auto update assets using a github action


  • Auto release: commit updated php file with the new version


  • auto update version of php file


  • Automatic release improvements


  • Automatic release improvements


  • Update .distignore


  • Updating google fonts data
  • Force https to load Google fonts preview
  • Add the ability to select/unselect all google font variants
  • Merge branch ‘trunk’ into try/manage-fonts
  • Update google fonts JSON data automatically using a repo action
  • Merge branch ‘trunk’ into release-action
  • Merge branch ‘trunk’ into try/manage-fonts
  • Merge branch ‘try/manage-fonts’ into release-action
  • Manage theme fonts
  • Automate release: build, version bump, changelog, deploy to
  • Automate release


  • Add translation domain (#121)
  • Check for nonce index (#120)
  • Validating mime type of font file on server side (#119)


  • Add capabilities and nonce checks (#118)


  • Correcting version number


  • Embed Google fonts and local font files in theme (#113)
  • Change button text (#112)
  • Add check and directory creation for template and parts folders. (#110)
  • Change theme.json schema of blank theme if Gutenberg isn’t installed. (#107)


  • update links, screenshots of the new changes (#97)
  • Add $schema and use Gutenberg classes (#99)
  • Update readme to include latest features (#100)
  • Generate $schema URL in the same way as core. (#105)


  • Save a theme variation (#90)
  • Make UI string ‘Create Block Theme’ can be translatable (#92)


  • Add option to create blank theme. (#70)
  • Improve form instructions (#76)
  • Form cleanup and Theme name check (#77)
  • Get the correct merged theme.json data (#88)


  • Initial version.