Description
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.
Installation
- Upload the
np-child-theme-generator
folder to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Navigate to the ‘Appearance’ -> ‘Themes’ section in your WordPress admin.
- The “Generate Child Theme” button will appear under the active theme’s screenshot.
Reviews
November 11, 2024
i have tried this tool and its very easy to generate child theme with a single click.
Contributors & Developers
“NP Child Theme Generator” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “NP Child Theme Generator” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.0.0
- Initial release.