From 6b215b6e5c81c1df308d3ee64f750621b81a2919 Mon Sep 17 00:00:00 2001 From: Ardalan Naghshineh Date: Mon, 25 Jan 2016 12:33:37 -0700 Subject: [PATCH] Update the replace example in README.md Many might choose multiple words as theme name, and they may not be sure where they should use a space, a hyphen or an underscore to separate words when doing the initial replacements. The example provided in the README file should cover that scenario. --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 42171a1a..24e20bf2 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Getting Started If you want to keep it simple, head over to http://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`), 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, `coolest-theme-ever`), and then you'll need to do a five-step find and replace on the name in all the templates. 1. Search for `'_s'` (inside single quotations) to capture the text domain. 2. Search for `_s_` to capture all the function names. @@ -32,11 +32,11 @@ If you want to set things up manually, download `_s` from GitHub. The first thin 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:  _s and replace with:  Megatherium -* Search for: `_s-` and replace with: `megatherium-` +* Search for: `'_s'` and replace with: `'coolest-theme-ever'` +* Search for: `_s_` and replace with: `coolest_theme_ever_` +* Search for: `Text Domain: _s` and replace with: `Text Domain: coolest-theme-ever` in style.css. +* Search for:  _s and replace with:  Coolest_Theme_Ever +* Search for: `_s-` and replace with: `coolest-theme-ever-` Then, update the stylesheet header in `style.css` and the links in `footer.php` with your own information. Next, update or delete this readme.