Most up-to-date UW-branded WordPress theme by the Marketing & Communications Web Team.
JavaScript CSS PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bootstrap
css
img
inc
js
less
setup
shivs
site-templates
.gitignore
404.php
application.php
archive.php
dropdowns.php
footer.php
functions.php
gruntfile.js
header.php
home-panels.php
home.php
image.php
index.php
package.json
page.php
readme.md
screenshot.png
search.php
searchform.php
single.php
style.css
style.dev.css
toss.css
uw-search.php

readme.md

UW 2013

UW branded Wordpress theme by the UW Web Team.

Javascript Development

The javascript is developed using Grunt. Here's how to install and start developing (mac):

Using a package manager like Homebrew, install npm and node.js

brew install npm

Then install Grunt through npm globally

npm install -g grunt-cli

Clone/download the UW 2013 theme and change into its root directory

git clone https://github.com/uweb/UW-2013.git ~/directory/to/uw-2013/theme/
cd ~/directory/to/uw-2013/theme/

Once in the theme directory, install the node dependencies

npm install 

Once that's done run the following command. Now every file defined by Gruntfile.js will trigger concatenating and minifying the javascript files.

grunt watch

Two will be created, a minified site.js and an unminified site.dev.js. If you are logged into Wordpress then site.dev.js will load. If you're visiting anonymously then site.js will load.