theme-claim
v0.2.0
Published
WP theme renamer
Downloads
78
Readme
Theme Claim
Rename a WP theme with a quick cli walk-through.
Install
$ yarn add theme-claim --dev
Usage
In a terminal
$ theme-claim --help
Usage
$ theme-claim
Options
--config=<path> Path to config [Default: ./themeclaim.json]
--ignore=<path> Specify an additional file or glob to ignore
Examples
$ theme-claim --config='/build/conf.json' --ignore='**/*.ignore'
Or in a package.json
script
"scripts": {
"rename": "theme-claim",
}
Run the "script"
$ yarn rename
By default, the config is set up for use with an in the works starter 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).
{
"from": {
"Name": "Mythic",
"Description": "An awesome starter theme for WordPress.",
"Namespace": "Mythic",
"Uri": "https://themehybrid.com/themes/mythic",
"Author": "Justin Tadlock",
"AuthorEmail": "[email protected]",
"AuthorUri": "https://themehybrid.com"
}
}