Genesis Theme Claim
Renames the Genesis Sample theme and resets the version number with a quick cli walk-through.
Install
$ npm install genesis-theme-claim --save-dev
Usage
In a terminal
$ genesis-theme-claim --help Usage $ genesis-theme-claim Options --config=<path> Path to config [Default: ./themeclaim.json] --ignore=<path> Specify an additional file or glob to ignore Examples $ genesis-theme-claim --config='/build/conf.json' --ignore='**/*.ignore'
package.json
script
Or in a "scripts":
Run the "script"
$ npm run rename
By default, the config is set up for use with the Genesis Sample Theme.
To rename any other theme, create a themeclaim.json
and place it in the root of your theme with the following contents.
Change the data to match your current theme data exactly (this is the data you're wanting to change).
Version
The version number is automatically reset to 1.0.0
across all theme files including @since
tags in PHP comments.