Frontend frameworks are useful collections of code and assets that speed up and standardize the development of the frontend of your web apps. Two popular frontend frameworks are Bootstrap and Foundation. In the book, we offer an example of how you would include Boostrap into your WordPress theme.

Here is similar code to use Foundation in your theme. First, download the Foundation library from their website and place it into a /foundation/ folder in your theme. Then add the following code to the functions.php of your theme.

This will get the Foundation code and assets loaded into your theme. From here, you’ll have to follow their docs for how to actually start using their grid, CSS classes, and widgets in your theme.

Article by