cit / wp-sage-101
WordPress starter theme with a modern development workflow
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Language:HTML
Type:project
Requires
- php: >=7.1
- composer/installers: ~1.0
- illuminate/support: 5.6.*
- roots/sage-lib: ~9.0.9
- roots/sage-woocommerce: ^1.0
- soberwp/controller: ~2.1.0
Requires (Dev)
- roots/sage-installer: ~1.6
- squizlabs/php_codesniffer: ^2.8.0
- dev-master
- 1.0.3
- 1.0.1
- 1.0.0
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/terser-4.8.1
- dev-dependabot/npm_and_yarn/node-sass-7.0.0
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/hosted-git-info-2.8.9
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/npm_and_yarn/y18n-3.2.2
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/ini-1.3.8
- dev-dependabot/npm_and_yarn/jquery-3.5.0
This package is auto-updated.
Last update: 2025-03-05 20:17:18 UTC
README
WP Sage 101 is a starter theme developed by Conscience Information Technologies based on the starter theme framework provided by Roots.
For Developers
Features
- Sass for stylesheets
- Modern JavaScript
- Webpack for compiling assets, optimizing images, and concatenating and minifying files
- Browsersync for synchronized browser testing
- Blade as a templating engine
- Controller for passing data to Blade templates
- CSS framework (optional): Bootstrap 4, Bulma, Foundation, Tachyons, Tailwind
Requirements
Make sure all dependencies have been installed before moving on:
Theme installation
Install Sage using Composer from your WordPress themes directory (replace your-theme-name
below with the name of your theme):
$ composer create-project cit/wp-sage-101 theme-name/
$ cd theme-name/
$ yarn
$ yarn build
During theme installation you will have options to update style.css
theme headers, select a CSS framework, and configure Browsersync.
File Structure
themes/your-theme-name/ # → Root of your Sage based theme ├── app/ # → Theme PHP │ ├── Controllers/ # → Controller files │ ├── admin.php # → Theme customizer setup │ ├── filters.php # → Theme filters │ ├── helpers.php # → Helper functions │ └── setup.php # → Theme setup ├── composer.json # → Autoloading for `app/` files ├── composer.lock # → Composer lock file (never edit) ├── dist/ # → Built theme assets (never edit) ├── node_modules/ # → Node.js packages (never edit) ├── package.json # → Node.js dependencies and scripts ├── resources/ # → Theme assets and templates │ ├── assets/ # → Front-end assets │ │ ├── config.json # → Settings for compiled assets │ │ ├── build/ # → Webpack and ESLint config │ │ ├── fonts/ # → Theme fonts │ │ ├── images/ # → Theme images │ │ ├── scripts/ # → Theme JS │ │ └── styles/ # → Theme stylesheets │ ├── functions.php # → Composer autoloader, theme includes │ ├── index.php # → Never manually edit │ ├── screenshot.png # → Theme screenshot for WP admin │ ├── style.css # → Theme meta information │ └── views/ # → Theme templates │ ├── layouts/ # → Base templates │ └── partials/ # → Partial templates └── vendor/ # → Composer packages (never edit)
WP Sage 101 and Conscience Information Technologies
Conscience Information Technologies believes in 12 Factor methodology for web development.
So to meet with this methodology, Conscience is creating it's own toolchain for Wordpress Services provided by Conscience Information Technologies. WP Sage 101 is one of the tools of Conscience Information Technologies. See the image below:
So 'WP Sage 101' is based on the starter theme provided by Roots. By default, there is almost no styling in the theme. So taking this starter theme as a framework, Conscience has come up with 'WP Sage 101' with some basic look and features.
Features
- Compatible with latest versions of
- WooCommerce
- Latest WP
- Gutenberg
-
Style Guide
- As a proof of Component Driven Development, the WP Sage 101 provides you a style guide of all the components of the theme.
- On installing and activating the theme, you will see a new menu on WP Dashboard named as 'Style Guide'. On click of this menu, you will be redirected on the style guide page of the theme.
- Here you can see the screenshot of the 'Style Guide' page: