Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Child Themes
WordPress Meetup Bangkok, 2014/08/17
Shinichi Nishikawa
What is a Child
Theme?
Codex
A child theme is a theme that inherits the
functionality of another theme, called the
parent theme.
!
Child themes a...
Codex
A child theme is a theme that inherits the
functionality of another theme, called the
parent theme.
!
Child themes a...
Codex
A child theme is a theme that inherits the
functionality of another theme, called the
parent theme.
!
Child themes a...
Codex
Child Theme:

http://codex.wordpress.org/Child_Themes
Parent Theme?
Any WordPress themes can be a Parent
Theme.
Exception: You can’t make a Child Theme
of another Child Themes.
How to make a child theme
1. Create a folder in wp-content/themes
2. Put style.css with

“Template: ParentThemeDirName”

i...
Demo 1
Parent Theme: Twenty Fourteen
Child Theme: Shin 2014
Concept of Child Theme
Don’t reinvent the wheel.
Change only what you need.
Protect changes from theme updates.
Override
You can override 3 things
1. css
2. template files
3. functions in functions.php
1. Override css
a presentation by Brandon Dove.



http://www.slideshare.net/
brandondove/parentchild-themes-vs-
theme-fra...
Demo 2
Parent Theme: Twenty Thirteen
Child Theme: nu2013
https://wordpress.org/themes/nu2013
Example: nskw-style.com
2. Override template files
If Child Theme has a template file,
WordPress uses that.
If not, WordPress uses a template file in...
3. Override functions.php
2 ways.
1. add functions.

→ example in nu2013
2. override functions.

→ devdmbootstrap3
Demo 3
Parent Theme: devdmbootstrap3
Child Theme: devdmbootstrap3-child
https://wordpress.org/themes/
devdmbootstrap3
Child Themes vs
Theme Frameworks.
Theme Framework
Examples
Underscores: underscores.me
Roots: roots.io/starter-theme
Which to choose?
Child themes?
When you find a good parent theme.
And it’s almost what you want.
And you need to change a little bit.
( When...
Theme Framework?
When you create from scratch.
When you have your own design.
When you change a lot from the original
them...
Upcoming SlideShare
Loading in …5
×

Child Theme

55,289 views

Published on

This is the slide I used for WordPress Meetup Bangkok Aug 2014

Published in: Technology
  • If you need your papers to be written and if you are not that kind of person who likes to do researches and analyze something - you should definitely contact these guys! They are awesome ⇒⇒⇒WRITE-MY-PAPER.net ⇐⇐⇐
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Check the source ⇒ www.HelpWriting.net ⇐ This site is really helped me out gave me relief from headaches. Good luck!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Sex in your area is here: ❶❶❶ http://bit.ly/2Qu6Caa ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Dating direct: ❤❤❤ http://bit.ly/2Qu6Caa ❤❤❤
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Child Theme

  1. 1. Child Themes WordPress Meetup Bangkok, 2014/08/17 Shinichi Nishikawa
  2. 2. What is a Child Theme?
  3. 3. Codex A child theme is a theme that inherits the functionality of another theme, called the parent theme. ! Child themes allow you to modify, or add to the functionality of that parent theme. ! A child theme is the best, safest, and easiest way to modify an existing theme.
  4. 4. Codex A child theme is a theme that inherits the functionality of another theme, called the parent theme. ! Child themes allow you to modify, or add to the functionality of that parent theme. ! A child theme is the best, safest, and easiest way to modify an existing theme.
  5. 5. Codex A child theme is a theme that inherits the functionality of another theme, called the parent theme. ! Child themes allow you to modify, or add to the functionality of that parent theme. ! A child theme is the best, safest, and easiest way to modify an existing theme.
  6. 6. Codex Child Theme:
 http://codex.wordpress.org/Child_Themes
  7. 7. Parent Theme? Any WordPress themes can be a Parent Theme. Exception: You can’t make a Child Theme of another Child Themes.
  8. 8. How to make a child theme 1. Create a folder in wp-content/themes 2. Put style.css with
 “Template: ParentThemeDirName”
 in Comment. 3. Add what you want.
  9. 9. Demo 1 Parent Theme: Twenty Fourteen Child Theme: Shin 2014
  10. 10. Concept of Child Theme Don’t reinvent the wheel. Change only what you need. Protect changes from theme updates.
  11. 11. Override You can override 3 things 1. css 2. template files 3. functions in functions.php
  12. 12. 1. Override css a presentation by Brandon Dove.
 
 http://www.slideshare.net/ brandondove/parentchild-themes-vs- theme-frameworks/5
  13. 13. Demo 2 Parent Theme: Twenty Thirteen Child Theme: nu2013 https://wordpress.org/themes/nu2013 Example: nskw-style.com
  14. 14. 2. Override template files If Child Theme has a template file, WordPress uses that. If not, WordPress uses a template file in Parent Theme.
  15. 15. 3. Override functions.php 2 ways. 1. add functions.
 → example in nu2013 2. override functions.
 → devdmbootstrap3
  16. 16. Demo 3 Parent Theme: devdmbootstrap3 Child Theme: devdmbootstrap3-child https://wordpress.org/themes/ devdmbootstrap3
  17. 17. Child Themes vs Theme Frameworks.
  18. 18. Theme Framework Examples Underscores: underscores.me Roots: roots.io/starter-theme
  19. 19. Which to choose?
  20. 20. Child themes? When you find a good parent theme. And it’s almost what you want. And you need to change a little bit. ( When the budget is very small )
  21. 21. Theme Framework? When you create from scratch. When you have your own design. When you change a lot from the original theme.

×