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

  1. Navigate to ‘Appearance’ -> ‘Themes’ in your WordPress admin panel.
  2. The “Generate Child Theme” button will automatically appear for the active theme.
  3. Click the button to generate a child theme.
  4. If a child theme already exists, the button will not appear.
  5. The plugin uses a MutationObserver to watch for changes in the theme selection and dynamically add the button as needed.
  6. 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.

安裝方式

  1. Upload the np-child-theme-generator folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to the ‘Appearance’ -> ‘Themes’ section in your WordPress admin.
  4. The “Generate Child Theme” button will appear under the active theme’s screenshot.

使用者評論

2024 年 11 月 11 日
i have tried this tool and its very easy to generate child theme with a single click.
閱讀全部 1 則使用者評論

參與者及開發者

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

參與者

將〈NP Child Theme Generator〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

2.0.0

  • Initial release.