Using a Framework Won't Box You In

Post on 27-Jan-2015

107 views 0 download

Tags:

description

Slides from my presentation at WordCamp Philly 2011

transcript

WPSTARTBOX.COM

First, if you EVER need any help...

(248) 234-4577(Brad William’s Personal Number)

(just kidding)

WPSTARTBOX.COM

Who am I?

Troublemaker

Brian Richards (@rzen)

Designer and Developer

User of WordPress since 2007

Creator of the StartBox Theme Framework (@wpstartbox)

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?

WPSTARTBOX.COM

Benefits of Using a Framework

Consistency

Predictability

Familiarity

Extensibility

and yes, even flexibility

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()

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

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

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

WPSTARTBOX.COM

Demo Time