TheStanfordDaily / tsd-wp-theme

[NO LONGER USED] -- see https://github.com/TheStanfordDaily/stanforddaily instead
https://www.stanforddaily.com/
GNU General Public License v2.0
2 stars 2 forks source link
wordpress-theme

The Stanford Daily logo

The Stanford Daily WordPress Theme

Build Status Greenkeeper badge

This is the WordPress theme for the Stanford Daily website. See it live at https://www.stanforddaily.com/. Contributions welcome!

Local setup

See https://github.com/TheStanfordDaily/stanforddaily-website/.

Theme Development

The theme is using Sass for styling. When developing the theme, you should be editing individual .scss files in the sass/ folder. Do NOT manually edit the style.css file.

We are using Grunt to compiling files.

To set up, type the following command in the theme folder (wp-content/themes/thestanforddaily/)

npm install -g grunt-cli
npm install -g sass
npm install

Then just type the following command every time you start working on the theme:

grunt

If you see:

Running "watch" task
Waiting...

It means that grunt is up and running. Grunt will watch your scss files changes and automatically update the style.css and style.min.css for you.