Skip to content

erengy/cradle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cradle

Cradle is a starter theme for WordPress. Meant to be modified per project and used along with mu-plugins.

Usage

  1. Download or 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 Cradlenamespace 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

License

Licensed under GNU General Public License v2 or later.