Bronson quick how to client-proof your word press theme
1. HOW TO “CLIENT-PROOF”
YOUR WORDPRESS
THEME
Bronson Quick
sennza | (07) 3040-1545 | bronson@sennza.com.au | http://www.sennza.com.au/ | Twitter: @sennza
2. OVERVIEW
Why we “client-proof” our WordPress sites
The WordPress Release Philosophy
Leverage WordPress core
Avoid “plugin syndrome”
Think like Nostradamus
Simplicity trumps complexity
Use more page templates!
Always have a backup plan
I was gonna talk about code but decided that I might send you to sleep!
2 of 15 sennza | (07) 3040-1545 | bronson@sennza.com.au | http://www.sennza.com.au/ | Twitter: @sennza
3. WHO AM I?
Brisbane based WordPress Developer
Working with different CMS for 12 years
Die hard Smashing Pumpkins fan!
Organiser of the WordPress Brisbane Meetup group
Co-organiser of WordCamp Gold Coast
Just a guy who is obsessed with WordPress!
3 of 15 sennza | (07) 3040-1545 | bronson@sennza.com.au | http://www.sennza.com.au/ | Twitter: @sennza
4. WHY WE “CLIENT-PROOF” SITES
Less support
Happier clients
We’d rather an inbox full of new leads than an inbox
of stressed clients!
Our clients can always update everything on their site!
When we code we have to think about “how can the
client break this?”
When the clients are happy, you’re happy!
4 of 15 sennza | (07) 3040-1545 | bronson@sennza.com.au | http://www.sennza.com.au/ | Twitter: @sennza
5. THE WORDPRESS RELEASE PHILOSOPHY
Too many preferences means you can’t find any of them
Preferences really substantially damage QA and testing
Preferences make integration and good UI difficult
The point of a good program is to do something specific
and do it well
Preferences can confuse many users
http://codex.wordpress.org/Release_Philosophy
5 of 15 sennza | (07) 3040-1545 | bronson@sennza.com.au | http://www.sennza.com.au/ | Twitter: @sennza
7. AVOID “PLUGIN SYNDROME”
“There’s a plugin for that”
Don’t install a plugin that has 60 options when
the client will only change 1 of those options
Embrace the GPL and adapt other developers
code
Friends don’t let other friends install too many WordPress
plugins!
7 of 15 sennza | (07) 3040-1545 | bronson@sennza.com.au | http://www.sennza.com.au/ | Twitter: @sennza
8. THINK LIKE NOSTRADAMUS
What will happen if the client updates the WordPress core or any of the plugins?
Don’t hack core!!!! EVER!!!! PERIOD!!!! *gggggggggrrrrrrrr*
If you alter a plugin that doesn’t have hooks you can use to alter it then you need to:
1) Turn off updates
2) Keep an eye on the plugin and apply any security updates they released to the
plugin you altered.
We’re all futurists thanks to WordPress because everything will always be backwards
compatible. (Except for add_contextual_help…”patches welcome ”)
In the future, all of your clients sites are safe!
8 of 15 sennza | (07) 3040-1545 | bronson@sennza.com.au | http://www.sennza.com.au/ | Twitter: @sennza
9. USE MORE PAGE TEMPLATES
I’ve seen too much logic stuffed into sidebar.php
Too many WordPress people only think about ‘Full
Width’ and ‘Default Template’
get_header(); can be get_header ( ‘kiwi’ );
Template Name: Kiwi Page
Page templates are easier for you and your clients!
9 of 15 sennza | (07) 3040-1545 | bronson@sennza.com.au | http://www.sennza.com.au/ | Twitter: @sennza
10. ALWAYS HAVE A BACKUP PLAN
BackupBuddy for small clients
VaultPress for the bigger ones!
Never trust a “hosting backup”
http://http://pluginbuddy.com/purchase/backupbuddy/
http://vaultpress.com/
10 of 15 sennza | (07) 3040-1545 | bronson@sennza.com.au | http://www.sennza.com.au/ | Twitter: @sennza
11. SIMPLICITY TRUMPS COMPLEXITY
Developers gonna develop!
Users gonna use!
Time for some examples!
If your Mum can update it then you’re doing it right!
https://gist.github.com/BronsonQuick
11 of 15 sennza | (07) 3040-1545 | bronson@sennza.com.au | http://www.sennza.com.au/ | Twitter: @sennza
12. SLIDESHOWS
DD Slider Custom Post Type
12 of 15 sennza | (07) 3040-1545 | bronson@sennza.com.au | http://www.sennza.com.au/ | Twitter: @sennza
13. TESTIMONIALS
Custom Post Type
13 of 15 sennza | (07) 3040-1545 | bronson@sennza.com.au | http://www.sennza.com.au/ | Twitter: @sennza
14. CLICK A BUTTON AND GET A TABLE!
Less confusing than WP-Table Reloaded
4 of 15 sennza | (07) 3040-1545 | bronson@sennza.com.au | http://www.sennza.com.au/ | Twitter: @sennza