Rapid WordPress theme
development
Jonny Allbut
Head of Digital - Tanc Design
@Jonnyauk | www.tancdesign.com
Howdy!
• Creative designer and developer
• Working with WordPress since early 2005
• Part of WPUK committee since 2008
• Creator & lead developer of Wonderflux
Use the right tools
(for you)
• Local development server
• Your favourite code editor(s)
• VIrtual machines
• define('WP_DEBUG', true);
• http://wordpress.org/extend/plugins/wordpress-beta-tester
• http://codex.wordpress.org/Theme_Unit_Test
• http://wordpress.org/extend/plugins/developer
Why theme frameworks
rock!
• Toolkit always with you
• Stop repeating R&D
• Rapid, consistent development
• Great for teams
Why I bothered to build
Wonderflux?
• Built for flexibility
• CSS grids
• Powerful display functions
• Full BuddyPress support
• Easy updates
• Free (whoot!)
Lessons learned
• The WordPress way (for better or worse!)
• Use the core - filters, hooks and functions
• Keep up with trunk development/Trac
http://core.trac.wordpress.org/
• Documentation (boo!)
• Listen to your users!
• Don't be scared to ask (but do your R&D!)
Useful CSS for theme
developers
• Use/add to the body class
<body <?php body_class('extra');?>>
• Target menu classes
current-menu-item / current-post-ancestor
• Target widget classes
<div class="textwidget">