Don't make babies cry! 

Use a child theme!



Brian Retterer
@bretterer

What is a child theme?




A theme that inherits functionality from another theme.

What is a child theme?

On Topic (Parent)
Child Theme
      
   

Why Use a child theme?


Go From This:

WHY USE A CHILD THEME?


To This:

WHY USE A CHILD THEME?


It makes babies not cry.   And nobody likes a baby crying.


A child theme prevents lost work 
when updating the theme.


WHY USE A CHILD THEME?


Also prevents future developers from doing this:

How To USE A CHILD THEME?


Required Files:

styles.css


HOW TO USE A CHILD THEME?


What is needed in the styles.css?

When to use a child theme?


Always
 (Almost)

WHEN TO USE A CHILD THEME?


When you need to make modifications to core
 functionality to your theme.


This is when you do not need to have this 
functionality in any other theme you may change to.

WHEN NOT TO USE A CHILD THEME?


Custom Post Types

Custom Fields

Anything that you want to be available in different themes.


Demo!

Questions?





brianretterer.com

@bretterer

IRC: lamarus

Don't make babie cry, Build a child theme!

By Brian Retterer

Don't make babie cry, Build a child theme!

  • 842