What to include in a boilerplate theme

Post on 26-Jan-2017

187 views 0 download

Transcript of What to include in a boilerplate theme

WHAT TO INCLUDE IN A BOILERPLATE THEME

For Faster WordPress Development

@timbdesignmpls on Twitter

timbdesign.com/themer

WHY? WordPress themes are unwieldy when you’re trying to make a custom site.

You find that you’re doing some of the same things over and over again at the beginning of custom builds.

Simplify and homogenize your process so you don’t have to (and your team doesn’t have to learn a new theme or process every time.)

BEING HANDED A LEGACY CODEBASE YOU HAVE NO IDEA ABOUT

We start with the loops. Make it easy on your self and get them all in one clean package

from the creators of WordPress at:

UNDERSCORES.ME

Bootstrap Foundation Semantic UI You’re own grid (Home cookin!)

COMBINE THIS STRUCTURE WITH PREFERRED RESPONSIVE

FRAMEWORK

INCORPORATE A NAVWALKER

The WordPress menu working with your responsive framework

is super useful.

bit.ly/bootstrap-navwalker

bit.ly/jasny-menu

USE THE CUSTOMIZER TO ADD A FEW KEY THINGS

Logo Colors Main background or universal fallback hero image

bit.ly/wp-customizer

SET UP YOUR WIDGET AREAS IN FUNCTIONS.PHP

Sidebars Footer Widgets

bit.ly/wordpress-widgets

SET UP YOUR HERO IMAGE ON POSTS AND PAGES

If this is a convention you use often

INCORPATE A SIMPLER DEVELOPER’S CAROUSEL

Bootstrap’s Owl Slider Unslider

TAKING IT TOO FAR Things I’ve added that haven’t sped up development Advanced Custom Fields Deep Color options in the theme customizer Switching out light and dark color schemes

WHAT TO INCLUDE IN A BOILERPLATE THEME

For Faster WordPress Development

@timbdesignmpls on Twitter

timbdesign.com/themer