[WordPress] 外掛分享: NP Child Theme Generator

首頁外掛目錄 › NP Child Theme Generator
WordPress 外掛 NP Child Theme Generator 的封面圖片
全新外掛
安裝啟用
★★★★★
5/5 分(1 則評價)
493 天前
最後更新
問題解決
WordPress 5.0+ v2.0.0 上架:2024-11-10

內容簡介

以下是該 WordPress 外掛的總結:
NP Child Theme Generator 在 WordPress 主題部分動態添加「生成子主題」按鈕。它檢查子主題是否已存在,並防止為同一主題生成多個子主題。

接下來,以下是一組問題與答案:

### 問題:
1. 這個外掛的主要功能是什麼?
2. 該外掛如何防止為同一主題生成多個子主題?
3. 在 WordPress 管理面板中,如何找到「生成子主題」按鈕?
4. 如果已經存在一個子主題,會有什麼樣的結果?
5. 此外掛使用哪種技術來監視主題選擇的變化?
6. 這個外掛的授權是什麼?可以在哪裡找到更多相關資訊?

### 答案:
1. 主要功能是為活躍主題在 WordPress 主題部分中添加「生成子主題」按鈕。
2. 外掛會檢查子主題是否已存在,並防止為同一主題生成多個子主題。
3. 在 WordPress 管理面板中,可以通過導航至「外觀」->「主題」找到「生成子主題」按鈕。
4. 如果已經存在一個子主題,「生成子主題」按鈕將不會顯示。
5. 這個外掛使用 MutationObserver 技術來監視主題選擇的變化,並根據需要動態添加按鈕。
6. 該外掛的授權是根據 GPLv2 或更新的授權。可在 https://www.gnu.org/licenses/gpl-2.0.html 找到更多相關資訊。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「NP Child Theme Generator」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

NP Child Theme Generator dynamically adds a “Generate Child Theme” button for the active theme in the WordPress themes section. It checks if a child theme already exists and prevents generating multiple child themes for the same theme.
How to Use

Navigate to ‘Appearance’ -> ‘Themes’ in your WordPress admin panel.
The “Generate Child Theme” button will automatically appear for the active theme.
Click the button to generate a child theme.
If a child theme already exists, the button will not appear.
The plugin uses a MutationObserver to watch for changes in the theme selection and dynamically add the button as needed.
Enjoy easy child theme generation!

License
This plugin is licensed under the GPLv2 or later license. See https://www.gnu.org/licenses/gpl-2.0.html for more details.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon