WCLV - Introduction to child themes
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

WCLV - Introduction to child themes

on

  • 2,296 views

 

Statistics

Views

Total Views
2,296
Views on SlideShare
2,283
Embed Views
13

Actions

Likes
0
Downloads
21
Comments
2

2 Embeds 13

http://paper.li 12
http://a0.twimg.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • I haven't. But i'll give it a shot. thanks!
    Are you sure you want to
    Your message goes here
    Processing…
  • have you checked rtpanel framework?
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

WCLV - Introduction to child themes Presentation Transcript

  • 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. What can I use a child theme for?• Customize the parent site design• Add in additional functionality• Save a bunch of time
  • 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. 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. The unedited parent theme
  • 6. Create a new theme folder
  • 7. Add a ‘style.css’ file
  • 8. Overriding style elementsParent Theme Child Theme
  • 9. Activate your child theme *screenshot.png
  • 10. Customized twentyeleven theme
  • 11. Twentyeleven header manager
  • 12. Overriding existing functions
  • 13. Overriding existing functions
  • 14. Overriding existing functions
  • 15. Adding your own functions
  • 16. Adding your own functions
  • 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. Parent Theme vs Child ThemeParent Theme Child Theme
  • 19. Overriding files
  • 20. Overriding files
  • 21. Overriding files
  • 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. Resources• http://codex.wordpress.org/Theme_Development• http://codex.wordpress.org/Child_Themes• http://codex.wordpress.org/Plugin_API