Setting up Foundation for WordPress
So I’m used to Bootstrap for development and sometimes it just doesn’t offer the functionality I need. I decided to install Foundation for WordPress for a client (DARKOH, you can see the final project here) and see how it goes.
Since I don’t have Ruby and my setup is based on Roots, the commands I will use are a little different than what they direct. The big deal is I downloaded Foundation from the GitHub and dragged it into my wp-content/themes directory.
- Use the command
npm install
to get your node_modules folder
- Use the command
npm install -g bower
into the directory
- Use the command
bower install
to get assets for bowser
- Use the command
grunt build
to build out the assets (scripts, fonts, etc)
Once you do that, grunt watch
and you’re all set!