From Start to Awesome in Under an Hour*<br />An introduction to StudioPress child themes<br />* providing you’re better at...
John Hawkins<br />WordPress Developerat 9seeds.com<br />WordCamp Groupie<br />Geek(you probably guessed that part)<br />
DISCLAIMER!<br />Genesis is a premium theme.<br />I do not work for StudioPress.<br />I’m just a bit of a fanboy.<br />
Do I have to use Genesis?<br />Nope!<br />There are plenty of frameworks to choose from.<br />Headway, Thematic, TwentyTen...
What is a Child Theme?<br />Requires as little as a style.css file containing a tag like:Template: genesis<br />Uses templ...
What is a Parent Theme?<br />Contains the default theme files<br />Hooks & Filters<br />Built in functionality<br />
Parent Vs Child File List<br />Genesis File List<br />Agency File List<br />
Template Hierarchy<br />http://codex.wordpress.org/images/1/18/Template_Hierarchy.png<br />
Genesis Options Page<br />
Genesis Widgets<br />
Category/Page Nav Menus<br />
User Profile<br />
Featured Page<br />
Featured Posts<br />
Time to Customize<br />
Before You Start<br />Create a new folder in /wp-content/themes/<br />Copy child-theme files in to new folder<br />Edit st...
Swapping Graphics, FTW!<br />
Inspect Element<br />
Started With This<br />
Ended With This<br />Replaced 4 graphics<br />Added a logo<br />Tweaked CSS<br />Added Logo<br />Google Fonts<br />Font Co...
Tweaking a Template<br />
home.php<br />
Custom Post Output<br />Using hooks & filters<br />
Default Content<br />
single.php<br />Note: Look in the functions.php file of any Genesis child theme for all sorts of goodies like this.<br />
Updated Content<br />
Custom Content Function<br />
Customized Output<br />
Remove Actions<br />remove_action(activate_genesis-simple-hooks/plugin.php,simplehooks_activation_check);<br />remove_acti...
/wp-includes/plugins.php<br />
Additional Resources<br />http://codex.wordpress.org/Child_Themes<br />http://dev.studiopress.com<br />http://studiopress....
Thanks for Listening!<br />Email: john@9seeds.com<br />Twitter: @vegasgeek<br />Skype: vegasgeek<br />
Upcoming SlideShare
Loading in...5
×

Intro to StudioPress child themes

1,715

Published on

Slides from my presentation at WordCamp Reno 2011: From start to awesome in under an hour. An introduction to StudioPress child themes.

Published in: Education, Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,715
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
13
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Each theme contains a PSD folder inside the images folder that contains layered files for each graphic you may want to change.
  • Each theme contains a PSD folder inside the images folder that contains layered files for each graphic you may want to change.
  • Each theme contains a PSD folder inside the images folder that contains layered files for each graphic you may want to change.
  • Each theme contains a PSD folder inside the images folder that contains layered files for each graphic you may want to change.
  • Each theme contains a PSD folder inside the images folder that contains layered files for each graphic you may want to change.
  • Intro to StudioPress child themes

    1. 1. From Start to Awesome in Under an Hour*<br />An introduction to StudioPress child themes<br />* providing you’re better at making graphics than I am.<br />
    2. 2. John Hawkins<br />WordPress Developerat 9seeds.com<br />WordCamp Groupie<br />Geek(you probably guessed that part)<br />
    3. 3. DISCLAIMER!<br />Genesis is a premium theme.<br />I do not work for StudioPress.<br />I’m just a bit of a fanboy.<br />
    4. 4. Do I have to use Genesis?<br />Nope!<br />There are plenty of frameworks to choose from.<br />Headway, Thematic, TwentyTen<br />
    5. 5. What is a Child Theme?<br />Requires as little as a style.css file containing a tag like:Template: genesis<br />Uses template files from a parent theme, unless you tell it otherwise.<br />
    6. 6. What is a Parent Theme?<br />Contains the default theme files<br />Hooks & Filters<br />Built in functionality<br />
    7. 7. Parent Vs Child File List<br />Genesis File List<br />Agency File List<br />
    8. 8. Template Hierarchy<br />http://codex.wordpress.org/images/1/18/Template_Hierarchy.png<br />
    9. 9. Genesis Options Page<br />
    10. 10. Genesis Widgets<br />
    11. 11. Category/Page Nav Menus<br />
    12. 12. User Profile<br />
    13. 13. Featured Page<br />
    14. 14. Featured Posts<br />
    15. 15. Time to Customize<br />
    16. 16. Before You Start<br />Create a new folder in /wp-content/themes/<br />Copy child-theme files in to new folder<br />Edit style.css to rename theme<br />Replace screenshot.png<br />
    17. 17. Swapping Graphics, FTW!<br />
    18. 18. Inspect Element<br />
    19. 19. Started With This<br />
    20. 20. Ended With This<br />Replaced 4 graphics<br />Added a logo<br />Tweaked CSS<br />Added Logo<br />Google Fonts<br />Font Colors<br />
    21. 21. Tweaking a Template<br />
    22. 22.
    23. 23. home.php<br />
    24. 24.
    25. 25. Custom Post Output<br />Using hooks & filters<br />
    26. 26. Default Content<br />
    27. 27. single.php<br />Note: Look in the functions.php file of any Genesis child theme for all sorts of goodies like this.<br />
    28. 28. Updated Content<br />
    29. 29. Custom Content Function<br />
    30. 30. Customized Output<br />
    31. 31. Remove Actions<br />remove_action(activate_genesis-simple-hooks/plugin.php,simplehooks_activation_check);<br />remove_action(genesis_init,simplehooks_execute_hooks);<br />remove_action(genesis_init,genesis_theme_support);<br />remove_action(genesis_init,genesis_constants);<br />remove_action(genesis_init,genesis_load_framework);<br />remove_action(genesis_before_loop,genesis_do_breadcrumbs);<br />remove_action(genesis_upgrade,genesis_upgrade_redirect);<br />remove_action(genesis_init,genesis_create_initial_layouts);<br />remove_action(genesis_setup,genesis_register_default_widget_areas);<br />remove_action(genesis_doctype,genesis_do_doctype);<br />remove_action(genesis_site_title,genesis_seo_site_title);<br />remove_action(genesis_site_description,genesis_seo_site_description);<br />remove_action(genesis_title,wp_title);<br />remove_action(genesis_meta,genesis_seo_meta_description);<br />remove_action(genesis_meta,genesis_seo_meta_keywords);<br />remove_action(genesis_meta,genesis_robots_meta);<br />remove_action(genesis_meta,genesis_show_theme_info_in_head);<br />remove_action(genesis_meta,genesis_load_favicon);<br />remove_action(genesis_header,genesis_header_markup_open);<br />remove_action(genesis_header,genesis_header_markup_close);<br />remove_action(genesis_header,genesis_do_header);<br />remove_action(genesis_before_footer,genesis_footer_widget_areas);<br />remove_action(genesis_footer,genesis_footer_markup_open);<br />remove_action(genesis_footer,genesis_footer_markup_close);<br />remove_action(genesis_footer,genesis_do_footer);<br />remove_action(genesis_after_header,genesis_do_nav);<br />remove_action(genesis_after_header,genesis_do_subnav);<br />remove_action(genesis_meta,genesis_load_stylesheet);<br />remove_action(genesis_after_content,genesis_get_sidebar);<br />remove_action(genesis_after_content_sidebar_wrap,genesis_get_sidebar_alt);<br />remove_action(genesis_before_post_title,genesis_do_post_format_image);<br />remove_action(genesis_post_title,genesis_do_post_title);<br />remove_action(genesis_post_content,genesis_do_post_image);<br />remove_action(genesis_post_content,genesis_do_post_content);<br />remove_action(genesis_loop_else,genesis_do_noposts);<br />remove_action(genesis_before_post_content,genesis_post_info);<br />remove_action(genesis_after_post_content,genesis_post_meta);<br />remove_action(genesis_after_post,genesis_do_author_box_single);<br />remove_action(genesis_after_endwhile,genesis_posts_nav);<br />remove_action(genesis_loop,genesis_do_loop);<br />remove_action(genesis_after_post,genesis_get_comments_template);<br />remove_action(genesis_comments,genesis_do_comments);<br />remove_action(genesis_pings,genesis_do_pings);<br />remove_action(genesis_list_comments,genesis_default_list_comments);<br />remove_action(genesis_list_pings,genesis_default_list_pings);<br />remove_action(genesis_comment_form,genesis_do_comment_form);<br />remove_action(genesis_sidebar,genesis_do_sidebar);<br />remove_action(genesis_sidebar_alt,genesis_do_sidebar_alt);<br />remove_action(genesis_before_loop,genesis_do_taxonomy_title_description);<br />remove_action(genesis_before_loop,genesis_do_author_title_description);<br />remove_action(genesis_before_loop,genesis_do_author_box_archive);<br />remove_action(genesis_before_header,ifb_include_topnav);<br />remove_action(genesis_footer,ifb_include_footnav);<br />http://9seeds.com/remove-actions/<br />
    32. 32.
    33. 33. /wp-includes/plugins.php<br />
    34. 34. Additional Resources<br />http://codex.wordpress.org/Child_Themes<br />http://dev.studiopress.com<br />http://studiopress.com/support<br />
    35. 35. Thanks for Listening!<br />Email: john@9seeds.com<br />Twitter: @vegasgeek<br />Skype: vegasgeek<br />
    1. A particular slide catching your eye?

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

    ×