Theme Frameworks & Child Themes<br />Pros and Cons<br />
What is a framework?<br />
What is a framework?<br />A WordPress Theme Framework is a reliably coded WordPress theme which serves as a foundation for...
What is a child theme?<br />
What is a child theme?<br /> A child theme is something users should be creating so that they can customize the look and f...
How do child themes work?<br />
How do child themes work?<br />	Child themes build on the existing parent theme by over riding or modifying the parent the...
What is a parent theme?<br />
What is a parent theme?<br /> 	Nearly all WordPress themes are parent themes. Only those called “child themes” are not par...
Pros of using child themes<br />
Why create a child theme<br />Ability to build just about any type of site.<br />If you don’t know to create your own Word...
Why not?<br />
Why not?<br />Confusing to clients<br />Unneeded loading of functions, scripts, styles<br />Lowered performance (too much ...
Conclusion & Discussion<br />   What you should really be creating is a parent theme. <br />	Child themes from theme devel...
Further reading<br />http://www.studiopress.com/general/child-themes-101.htm<br />http://www.catswhocode.com/blog/wordpres...
Upcoming SlideShare
Loading in …5
×

Theme frameworks & child themes

1,841 views

Published on

  • Be the first to comment

  • Be the first to like this

Theme frameworks & child themes

  1. 1. Theme Frameworks & Child Themes<br />Pros and Cons<br />
  2. 2. What is a framework?<br />
  3. 3. What is a framework?<br />A WordPress Theme Framework is a reliably coded WordPress theme which serves as a foundation for future themes.<br /> A theme framework is a set of conventions to use for developing WordPress [parent] themes.<br />
  4. 4. What is a child theme?<br />
  5. 5. What is a child theme?<br /> A child theme is something users should be creating so that they can customize the look and functionality of their site. The child theme inherits all of its functionality from a single parent theme.<br />
  6. 6. How do child themes work?<br />
  7. 7. How do child themes work?<br /> Child themes build on the existing parent theme by over riding or modifying the parent themes existing functions and templates<br />/* <br />Theme Name: DemoChildTheme<br />Theme URI: www.example.com <br />Description: Use this theme to start your Child Theme<br /> Author: Chris Olbekson<br /> Author URI: http://c3mdigital.com<br /> Template: frameworkname<br /> */<br />
  8. 8. What is a parent theme?<br />
  9. 9. What is a parent theme?<br /> Nearly all WordPress themes are parent themes. Only those called “child themes” are not parent themes.<br /> Parent themes should house the theme design, functionality, and the templates required for running the theme in WordPress.<br /> You can use a framework to build a parent theme, but the framework is not a parent theme itself.<br />
  10. 10. Pros of using child themes<br />
  11. 11. Why create a child theme<br />Ability to build just about any type of site.<br />If you don’t know to create your own WordPress theme from scratch<br />Valid and semantic XHTML<br />If you want to start to learn about WordPress theme design<br />Web developers that need a fast turnaround for their clients websites<br />Prevents updates from overwriting mods<br />
  12. 12. Why not?<br />
  13. 13. Why not?<br />Confusing to clients<br />Unneeded loading of functions, scripts, styles<br />Lowered performance (too much code)<br />Hard to override some css styles<br />Confusion as to which files are being edited in the theme editor<br />Problematic because the child theme might eventually need an update<br />
  14. 14. Conclusion & Discussion<br /> What you should really be creating is a parent theme. <br /> Child themes from theme developers should be nothing more than a stylesheet and a few functions. This idea of releasing advanced child themes just creates the same problem child themes were meant to solve: upgradability.<br />
  15. 15. Further reading<br />http://www.studiopress.com/general/child-themes-101.htm<br />http://www.catswhocode.com/blog/wordpress-theme-frameworks<br />http://codex.wordpress.org/Child_Themes<br />http://wpcandy.com/presents/wordpress-theme-framework-comparison<br />

×