forked from mirror/_s
Readme: now six-step find and replace
This commit is contained in:
parent
817e14f312
commit
3749eb6bae
|
@ -24,7 +24,7 @@ Getting Started
|
||||||
|
|
||||||
If you want to keep it simple, head over to https://underscores.me and generate your `_s` based theme from there. You just input the name of the theme you want to create, click the "Generate" button, and you get your ready-to-awesomize starter theme.
|
If you want to keep it simple, head over to https://underscores.me and generate your `_s` based theme from there. You just input the name of the theme you want to create, click the "Generate" button, and you get your ready-to-awesomize starter theme.
|
||||||
|
|
||||||
If you want to set things up manually, download `_s` from GitHub. The first thing you want to do is copy the `_s` directory and change the name to something else (like, say, `megatherium-is-awesome`), and then you'll need to do a five-step find and replace on the name in all the templates.
|
If you want to set things up manually, download `_s` from GitHub. The first thing you want to do is copy the `_s` directory and change the name to something else (like, say, `megatherium-is-awesome`), and then you'll need to do a six-step find and replace on the name in all the templates.
|
||||||
|
|
||||||
1. Search for `'_s'` (inside single quotations) to capture the text domain.
|
1. Search for `'_s'` (inside single quotations) to capture the text domain.
|
||||||
2. Search for `_s_` to capture all the function names.
|
2. Search for `_s_` to capture all the function names.
|
||||||
|
|
Reference in New Issue