Add instruction to replace the _S_VERSION in the readme file

This commit is contained in:
Ismail El Korchi 2020-04-06 22:26:57 +01:00
parent f94fc1e59b
commit d4ef6775d1
2 changed files with 4 additions and 2 deletions

View File

@ -31,6 +31,7 @@ If you want to set things up manually, download `_s` from GitHub. The first thin
3. Search for `Text Domain: _s` in `style.css`.
4. Search for <code>&nbsp;_s</code> (with a space before it) to capture DocBlocks.
5. Search for `_s-` to capture prefixed handles.
6. Search for `_S_` (in uppercase) to capture constants.
OR
@ -39,6 +40,7 @@ OR
3. Search for: `Text Domain: _s` and replace with: `Text Domain: megatherium-is-awesome` in `style.css`.
4. Search for: <code>&nbsp;_s</code> and replace with: <code>&nbsp;Megatherium_is_Awesome</code>.
5. Search for: `_s-` and replace with: `megatherium-is-awesome-`.
6. Search for: `_S_` and replace with: `MEGATHERIUM_IS_AWESOME_`.
Then, update the stylesheet header in `style.css`, the links in `footer.php` with your own information and rename `_s.pot` from `languages` folder to use the theme's slug. Next, update or delete this readme.

View File

@ -8,8 +8,8 @@
*/
if ( ! defined( '_S_VERSION' ) ) {
// Replace #.# with the version number of the theme on each release.
define( '_S_VERSION', '#.#' );
// Replace the version number of the theme on each release.
define( '_S_VERSION', '1.0.0' );
}
if ( ! function_exists( '_s_setup' ) ) :