Download - Using a Framework Won't Box You In
![Page 1: Using a Framework Won't Box You In](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c746ae4a7959723e8b457d/html5/thumbnails/1.jpg)
![Page 2: Using a Framework Won't Box You In](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c746ae4a7959723e8b457d/html5/thumbnails/2.jpg)
WPSTARTBOX.COM
First, if you EVER need any help...
(248) 234-4577(Brad William’s Personal Number)
(just kidding)
![Page 3: Using a Framework Won't Box You In](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c746ae4a7959723e8b457d/html5/thumbnails/3.jpg)
WPSTARTBOX.COM
Who am I?
Troublemaker
Brian Richards (@rzen)
Designer and Developer
User of WordPress since 2007
Creator of the StartBox Theme Framework (@wpstartbox)
![Page 4: Using a Framework Won't Box You In](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c746ae4a7959723e8b457d/html5/thumbnails/4.jpg)
WPSTARTBOX.COM
A bit about StartBox...
A theme framework by a designer, for designers
Provides TONS of Hooks and Filters, a custom Options API, and is well documented for developers
What does StartBox look like?
![Page 5: Using a Framework Won't Box You In](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c746ae4a7959723e8b457d/html5/thumbnails/5.jpg)
WPSTARTBOX.COM
Benefits of Using a Framework
Consistency
Predictability
Familiarity
Extensibility
and yes, even flexibility
![Page 6: Using a Framework Won't Box You In](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c746ae4a7959723e8b457d/html5/thumbnails/6.jpg)
WPSTARTBOX.COM
WARNING! PHP CONTENT AHEAD!
You can use whatever theme you want, but I STRONGLY recommend they make use of three built-in WP functions:
body_class()
post_class()
comment_class()
![Page 7: Using a Framework Won't Box You In](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c746ae4a7959723e8b457d/html5/thumbnails/7.jpg)
WPSTARTBOX.COM
Benefits of StartBox
Created by a designer, for designers
Additional (über-useful) body classes
Clean intelligent markup (there only when you need it)
Predictably named elements
Convenient starter style.css stylesheet
![Page 8: Using a Framework Won't Box You In](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c746ae4a7959723e8b457d/html5/thumbnails/8.jpg)
WPSTARTBOX.COM
CSS Structure Tips
Group similar rules together
Create clear divisions between sections
Create a table of contents
Always organize your declarations in the same order
![Page 9: Using a Framework Won't Box You In](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c746ae4a7959723e8b457d/html5/thumbnails/9.jpg)
WPSTARTBOX.COM
What I’m going to show you:
Some basic StartBox awesomesauce
A look at the vanilla StartBox Child
A look at the custom classes it adds
A look at the layout selector
How I created a fresh look (based on MailChimp.com) using only 30 CSS declarations, in one hour
![Page 10: Using a Framework Won't Box You In](https://reader033.vdocuments.net/reader033/viewer/2022051515/54c746ae4a7959723e8b457d/html5/thumbnails/10.jpg)
WPSTARTBOX.COM
Demo Time