forked from mirror/_s
Merge pull request #387 from aahan/patch-1
_s: Switch the order of text replacements.
Change ensures the textdomain in `style.css` is not replaced with the theme name, but rather with the theme slug. Broken in 1f15c20
.
This commit is contained in:
commit
1e6e4d82ca
|
@ -24,17 +24,17 @@ If you want to set things up manually, download `_s` from github. The first thin
|
|||
|
||||
1. Search for `'_s'` (inside single quotations) to capture the text domain.
|
||||
2. Search for `_s_` to capture all the function names.
|
||||
3. Search for <code> _s</code> (with a space before it) to capture DocBlocks.
|
||||
4. Search for `_s-` to capture prefixed handles.
|
||||
5. Search for `Text Domain: _s` in style.css.
|
||||
3. Search for `Text Domain: _s` in style.css.
|
||||
4. Search for <code> _s</code> (with a space before it) to capture DocBlocks.
|
||||
5. Search for `_s-` to capture prefixed handles.
|
||||
|
||||
OR
|
||||
|
||||
* Search for: `'_s'` and replace with: `'megatherium'`
|
||||
* Search for: `_s_` and replace with: `megatherium_`
|
||||
* Search for: `Text Domain: _s` and replace with: `Text Domain: megatherium` in style.css.
|
||||
* Search for: <code> _s</code> and replace with: <code> Megatherium</code>
|
||||
* Search for: `_s-` and replace with: `megatherium-`
|
||||
* Search for: `Text Domain: _s` and replace with: `Text Domain: megatherium` in style.css.
|
||||
|
||||
Then, update the stylesheet header in style.css and the links in footer.php with your own information. Next, update or delete this readme.
|
||||
|
||||
|
|
Reference in New Issue