Customized fork of the _s (underscores) WordPress theme by Automattic.
- Download a clone/copy of this repository and rename the folder (for example,
custom-wp-theme
). - Move the folder into the
wp-project-name/wp-content/themes/
directory. - Open the folder in a text editor and perform a five-step find-and-replace on the name in all files.
- Search for
'_s'
(inside single quotations) to capture the text domain.- Search for:
'_s'
- Replace with:
'custom-wp-theme'
- Search for:
- Search for
_s_
to capture all the function names.- Search for:
_s_
- Replace with:
custom_wp_theme_
- Search for:
- Search for
Text Domain: _s
in style.css.- Search for:
Text Domain: _s
- Replace with:
Text Domain: custom-wp-theme
in style.css.
- Search for:
- Search for
_s
(with a space before it) to capture DocBlocks.- Search for:
_s
- Replace with:
Custom_WP_Theme
- Search for:
- Search for
_s-
to capture prefixed handles.- Search for:
_s-
- Replace with:
custom-wp-theme-
- Search for:
Finish customizing the theme by editing the following files:
proxy
URL ingulpfile.js
name
anddescription
values inpackage.json
- Name of the global object variable in
/es6/main.js
Description
value in/sass/style.scss
- Contents of
readme.md