https://github.com/jayhill90/genesis-generator
WordPress plugin to generate a child theme based on the Genesis Sample theme via WP-CLI
https://github.com/jayhill90/genesis-generator
genesis-child-theme genesis-framework genesis-sample-theme genesiswp wordpress-plugin wp-cli wp-cli-command
Last synced: 3 months ago
JSON representation
WordPress plugin to generate a child theme based on the Genesis Sample theme via WP-CLI
- Host: GitHub
- URL: https://github.com/jayhill90/genesis-generator
- Owner: jayhill90
- Created: 2019-06-29T02:36:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-15T17:09:28.000Z (over 6 years ago)
- Last Synced: 2025-04-02T10:38:05.367Z (10 months ago)
- Topics: genesis-child-theme, genesis-framework, genesis-sample-theme, genesiswp, wordpress-plugin, wp-cli, wp-cli-command
- Language: PHP
- Homepage:
- Size: 43 KB
- Stars: 20
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: readme.txt
Awesome Lists containing this project
README
=== Genesis Generator ===
Contributors: jayhill90
Donate link: https://wpdev.life
Tags: Genesis, theme, generator
Requires at least: 4.5
Tested up to: 5.2.2
Stable tag: 0.4.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
This plugin adds a WP CLI command to be able to scaffold a Genesis Sample theme.
== Description ==
This plugin adds a WP-CLI command to be able to generate a Genesis Sample theme, with all of the replacements being complete.
This is a work in progress, and is meant as a proof of concept on how valuable this could be to Genesis core.
Currently this only supports Genesis/Genesis Sample 3.0.1. If you're running 2.10 or lower please upgrade.
I value feedback so if there's anything amiss feel free to open up an issue or hit me on twitter @wpdevlife.
== Installation ==
Ensure the Genesis Framework is installed.
Git clone this repo or download as zip to your plugins folder.
Activate the plugin.
Open up WP-CLI and run the wp scaffold genesis command.
ex: wp scaffold genesis my-theme --author="Jay Hill" --uri="wpdev.life" --description="My awesome theme" --theme_uri="testinproduction.systems"
Once complete, you can switch to your new theme with wp theme activate my-theme and begin development work.
== Frequently Asked Questions ==
Does this pull Genesis themes like Academy Pro or another StudioPress theme?
This will scaffold a new theme based on Genesis Sample and make the replacements to update Genesis Sample references.
== Screenshots ==
Soon.
== Changelog ==
= 0.4.2 =
Fixed some missing replacement strings.
= 0.4.1 =
Added functionality to download Genesis Sample based on installed Genesis version
= 0.4.0 =
Added theme_uri author_uri description and other args for command.
Expanded documentation.
Cleaned up more code.
= 0.1.2 =
Ensured theme is installed locally.
Minor bug fixes.
= 0.1.0 =
* Initial base functionality.