Using a Framework Won't Box You In

10

description

Slides from my presentation at WordCamp Philly 2011

Transcript of Using a Framework Won't Box You In

Page 1: Using a Framework Won't Box You In
Page 2: Using a Framework Won't Box You In

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

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

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

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

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

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

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

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

WPSTARTBOX.COM

Demo Time