[WordPress] 外掛分享: Options for Block Themes

首頁外掛目錄 › Options for Block Themes
200+
安裝啟用
★★★★★
5/5 分(4 則評價)
22 天前
最後更新
問題解決
WordPress 5.8+ PHP 5.6+ v1.4.6 上架:2021-07-25

內容簡介

範本編輯器

WordPress v5.9 推出了第一個支援全站編輯的預設佈景主題 – Twenty Twenty-Two。

目前還無法在不使用子佈景主題的情況下,新增不屬於佈景主題的範本。

使用全站編輯的主題也會移除自訂器的連結。不過這個外掛可以解決這個問題!

此外,本外掛還能啟用 Gutenberg 中的範本編輯器,讓任何佈景主題都支援全站編輯!

添加 Google 字型編輯器

選擇 Google 字體,將它們加入全螢幕編輯器全域樣式設定選項中!

移除全站編輯主題字型

此外掛可讓你選擇是否包含 FSE 編輯器中的佈景主題字型,如果不需要,外掛會在前端避免載入這些字型。

還原自訂器連結

啟用此外掛後,“儀表板 – 外觀” 和管理列位置上的 “自訂” 連結將自動還原,這個功能只適用於 WordPress v6.0 之前的版本。

編輯現有範本

安裝本外掛後,前往 “儀表板 – 外觀 – 管理範本”,即可對啟用的佈景主題或其他佈景主題的自訂範本進行標題、描述和名稱的修改。

複製範本

將範本儲存為在啟用佈景主題的副本中。

這可讓你使用 WordPress 範本層級,為範本命名,使其可用於自訂文章類型、自訂稅onomies、特定文章或頁面,或其他任何事項!

刪除範本

輕鬆刪除啟用佈景主題或其他佈景主題的範本。這不會刪除原始佈景主題的範本,只刪除你所做的自訂。

下載範本

下載範本並備份 .json 檔案,或在其他 WordPress 網站中移轉範本。

上傳範本

上傳 .json 檔案以將範本加入啟用的佈景主題中。這可讓你還原備份的範本或在其他 WordPress 網站中移轉範本。

固定頁首

輕鬆啟用 Twenty Twenty-Two 等全站編輯主題中的固定頁首或選單。

網站標誌動畫效果

啟用這個選項,滾動頁面時可縮小標頭網站標誌。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Options for Block Themes」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Options for Block Themes
With WordPress v5.9 the first default block theme with Full Site Editing was launched … Twenty Twenty-Two.
This plugin expands on the functionality to manage (export / import / delete) templates and template parts that are not part of the theme without having to have a child theme.
Having a block theme also removes links to the legacy Customizer. This plugin allows you to change that!
This plugin will also enable the Template Editor in Gutenberg for full site editing for any theme!
Additional Core Block Options

Option to enable expandable submenus to the Navigation Block modal.
Option to add full block link option to Group and Cover Blocks.
Option to close other Details Blocks when selected one is opened giving the Details Block a basic “accordion” functionality.
Option to populate the Gallery Block with an ACF / SCF Gallery field

Conditional Block Logic

Enable Block Logic and you will be able to show or hide blocks conditionally by Date / Time. We will be adding more conditions in the future.

Reinstate Customizer Links
Activating the plugin will inject the “Customize” links back into the “Dashboard – Appearance” and Admin Bar locations for WordPress prior to v6.0. There is an option to disable this if you prefer.
Edit Existing Templates
Once you’ve installed this plugin, head over to “Dashboard – Appearance – Manage Templates” where you can change the title, description and name of customized templates from the active theme or any other theme.
Duplicate Templates
Save templates as a copy to the active theme.
This allows you to use the WordPress Template Hierarchy to name your templates so that they can be used for custom post types, custom taxonomies, specific post or pages or anything you like!
Delete Templates
Easily delete templates from the active theme or any other theme. This doesn’t delete the orginal theme template, just any customizations you have made.
Download Templates
Download your template as .json files to back them up or to migrate them to another WordPress site.
Upload Templates
Upload template .json files to the active theme. This allows you to restore a template you backed up or migrate a template to another WordPress site.
Download Global Styles
Download your global styles as .json files to back them up or to migrate them to another WordPress site or theme.
Upload Global Styles
Upload global styles .json files to the active theme. This allows you to restore global styles you backed up or migrate global styles to another WordPress site.
Sticky Header
Easily enable a sticky header / menu in full site editor themes like Twenty Twenty-Two.
Animate Site Logo
Enable an option to shrink the header site logo when you scroll down the page.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon