Beskrivning
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.
Recensioner
Bidragsgivare och utvecklare
”NP Child Theme Generator” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”NP Child Theme Generator” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
2.0.0
- Initial release.