https://github.com/erengy/cradle
WordPress starter theme
https://github.com/erengy/cradle
wordpress wordpress-starter-theme wordpress-theme
Last synced: 2 months ago
JSON representation
WordPress starter theme
- Host: GitHub
- URL: https://github.com/erengy/cradle
- Owner: erengy
- License: gpl-2.0
- Created: 2020-10-17T12:10:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-10T07:58:12.000Z (over 2 years ago)
- Last Synced: 2025-02-15T17:43:03.741Z (over 1 year ago)
- Topics: wordpress, wordpress-starter-theme, wordpress-theme
- Language: PHP
- Homepage:
- Size: 205 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cradle
Cradle is a starter theme for WordPress. Meant to be modified per project and used along with [mu-plugins](https://github.com/erengy/mu-plugins).
## Usage
1. [Download](https://github.com/erengy/cradle/archive/refs/heads/master.zip) or [install](https://developer.wordpress.org/cli/commands/theme/install/) this repository to `wp-content/themes/`:
`wp theme install https://github.com/erengy/cradle/archive/refs/heads/master.zip`
2. Remove or modify `README.md`.
3. Replace the following strings in `.php` files:
- `'cradle'` → `'example'`
- `namespace Cradle` → `namespace Example`
- `Cradle\` → `Example\`
4. Update the header fields in `style.css`.
5. Build the main stylesheet:
`sass assets/css/main.scss assets/css/main.css`
6. Create translation files:
`wp i18n make-pot . languages/example.pot --include="inc,templates"`
7. Activate the theme:
`wp theme activate example`
## Recommended plugins
- [Advanced Custom Fields](https://www.advancedcustomfields.com/)
- [Classic Editor](https://wordpress.org/plugins/classic-editor/)
- [Classic Widgets](https://wordpress.org/plugins/classic-widgets/)
- [mu-plugins](https://github.com/erengy/mu-plugins)
## License
Licensed under [GNU General Public License v2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html) or later.