0
What the heck is a child theme? “A WordPress child theme is a theme that inherits the functionality of another theme, call...
What can I use a child theme for?• Customize the parent site design• Add in additional functionality• Save a bunch of time
Why would I use a child theme?• Update the parent theme without losing your  customizations• Did I mention the part about ...
What do I need to get started?• Choose a parent theme  (check out twentyten & twentyeleven)• A new folder in /wp-content/t...
The unedited parent theme
Create a new theme folder
Add a ‘style.css’ file
Overriding style elementsParent Theme         Child Theme
Activate your child theme                            *screenshot.png
Customized twentyeleven theme
Twentyeleven header manager
Overriding existing functions
Overriding existing functions
Overriding existing functions
Adding your own functions
Adding your own functions
Keep in mind…• Your child theme can contain as many or as few files  as you want• Files in your child theme folder overrid...
Parent Theme vs Child ThemeParent Theme        Child Theme
Overriding files
Overriding files
Overriding files
Theme Frameworks“A Theme framework is a Theme designed to be aflexible foundation for quicker WordPressdevelopment, usuall...
Resources• http://codex.wordpress.org/Theme_Development• http://codex.wordpress.org/Child_Themes• http://codex.wordpress.o...
WCLV - Introduction to child themes
WCLV - Introduction to child themes
Upcoming SlideShare
Loading in...5
×

WCLV - Introduction to child themes

1,980

Published on

Published in: Technology, Business
2 Comments
0 Likes
Statistics
Notes
  • I haven't. But i'll give it a shot. thanks!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • have you checked rtpanel framework?
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total Views
1,980
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
21
Comments
2
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "WCLV - Introduction to child themes"

  1. 1. What the heck is a child theme? “A WordPress child theme is a theme that inherits the functionality of another theme, called the parent theme, and allows you to modify, or add to, the functionality of that parent theme.” - The WordPress Codex
  2. 2. What can I use a child theme for?• Customize the parent site design• Add in additional functionality• Save a bunch of time
  3. 3. Why would I use a child theme?• Update the parent theme without losing your customizations• Did I mention the part about saving time?
  4. 4. What do I need to get started?• Choose a parent theme (check out twentyten & twentyeleven)• A new folder in /wp-content/themes/• A CSS file in your new theme
  5. 5. The unedited parent theme
  6. 6. Create a new theme folder
  7. 7. Add a ‘style.css’ file
  8. 8. Overriding style elementsParent Theme Child Theme
  9. 9. Activate your child theme *screenshot.png
  10. 10. Customized twentyeleven theme
  11. 11. Twentyeleven header manager
  12. 12. Overriding existing functions
  13. 13. Overriding existing functions
  14. 14. Overriding existing functions
  15. 15. Adding your own functions
  16. 16. Adding your own functions
  17. 17. Keep in mind…• Your child theme can contain as many or as few files as you want• Files in your child theme folder override files in the parent theme folder• Adding a functions.php will add-to rather than override functions.php from your parent theme
  18. 18. Parent Theme vs Child ThemeParent Theme Child Theme
  19. 19. Overriding files
  20. 20. Overriding files
  21. 21. Overriding files
  22. 22. Theme Frameworks“A Theme framework is a Theme designed to be aflexible foundation for quicker WordPressdevelopment, usually serving as a robust Parent Themefor Child Themes.” - The WordPress Codex• Genesis – studiopress.com• Thematic – themeshaper.com• Hybrid – themehybrid.com
  23. 23. Resources• http://codex.wordpress.org/Theme_Development• http://codex.wordpress.org/Child_Themes• http://codex.wordpress.org/Plugin_API
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×