• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
WordCamp Reno 2011 - Intro to Genesis Child Themes
 

WordCamp Reno 2011 - Intro to Genesis Child Themes

on

  • 2,086 views

These are the slides from my presentation at WordCamp Reno 2011

These are the slides from my presentation at WordCamp Reno 2011

Statistics

Views

Total Views
2,086
Views on SlideShare
2,086
Embed Views
0

Actions

Likes
1
Downloads
10
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

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…
Post Comment
Edit your comment
  • 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.

WordCamp Reno 2011 - Intro to Genesis Child Themes WordCamp Reno 2011 - Intro to Genesis Child Themes Presentation Transcript

  • An introduction to StudioPress child themes * providing you’re better at making graphics than I am.
  • John Hawkins
    • WordPress Developer at 9seeds.com
    • WordCamp Groupie
    • Geek (you probably guessed that part)
  • Genesis is a premium theme. I do not work for StudioPress. I’m just a bit of a fanboy.
  • Nope! There are plenty of frameworks to choose from. Headway, Thematic, TwentyTen
  • What is a Child Theme?
    • Requires as little as a style.css file containing a tag like: Template: genesis
    • Uses template files from a parent theme, unless you tell it otherwise.
  • What is a Parent Theme?
    • Contains the default theme files
    • Hooks & Filters
    • Built in functionality
  • Parent Vs Child File List
    • Genesis File List
    • Agency File List
  • http://codex.wordpress.org/images/1/18/Template_Hierarchy.png
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  • Before You Start
    • Create a new folder in /wp-content/themes/
    • Copy child-theme files in to new folder
    • Edit style.css to rename theme
    • Replace screenshot.png
  •  
  •  
  •  
  • Ended With This
    • Replaced 4 graphics
    • Added a logo
    • Tweaked CSS
      • Added Logo
      • Google Fonts
      • Font Colors
  •  
  •  
  • home.php
  •  
  • Using hooks & filters
  • Default Content
  • single.php Note: Look in the functions.php file of any Genesis child theme for all sorts of goodies like this.
  • Updated Content
  • Custom Content Function
  • Customized Output
  • Remove Actions
    • remove_action(activate_genesis-simple-hooks/plugin.php,simplehooks_activation_check);
    • remove_action(genesis_init,simplehooks_execute_hooks);
    • remove_action(genesis_init,genesis_theme_support);
    • remove_action(genesis_init,genesis_constants);
    • remove_action(genesis_init,genesis_load_framework);
    • remove_action(genesis_before_loop,genesis_do_breadcrumbs);
    • remove_action(genesis_upgrade,genesis_upgrade_redirect);
    • remove_action(genesis_init,genesis_create_initial_layouts);
    • remove_action(genesis_setup,genesis_register_default_widget_areas);
    • remove_action(genesis_doctype,genesis_do_doctype);
    • remove_action(genesis_site_title,genesis_seo_site_title);
    • remove_action(genesis_site_description,genesis_seo_site_description);
    • remove_action(genesis_title,wp_title);
    • remove_action(genesis_meta,genesis_seo_meta_description);
    • remove_action(genesis_meta,genesis_seo_meta_keywords);
    • remove_action(genesis_meta,genesis_robots_meta);
    • remove_action(genesis_meta,genesis_show_theme_info_in_head);
    • remove_action(genesis_meta,genesis_load_favicon);
    • remove_action(genesis_header,genesis_header_markup_open);
    • remove_action(genesis_header,genesis_header_markup_close);
    • remove_action(genesis_header,genesis_do_header);
    • remove_action(genesis_before_footer,genesis_footer_widget_areas);
    • remove_action(genesis_footer,genesis_footer_markup_open);
    • remove_action(genesis_footer,genesis_footer_markup_close);
    • remove_action(genesis_footer,genesis_do_footer);
    • remove_action(genesis_after_header,genesis_do_nav);
    • remove_action(genesis_after_header,genesis_do_subnav);
    • remove_action(genesis_meta,genesis_load_stylesheet);
    • remove_action(genesis_after_content,genesis_get_sidebar);
    • remove_action(genesis_after_content_sidebar_wrap,genesis_get_sidebar_alt);
    • remove_action(genesis_before_post_title,genesis_do_post_format_image);
    • remove_action(genesis_post_title,genesis_do_post_title);
    • remove_action(genesis_post_content,genesis_do_post_image);
    • remove_action(genesis_post_content,genesis_do_post_content);
    • remove_action(genesis_loop_else,genesis_do_noposts);
    • remove_action(genesis_before_post_content,genesis_post_info);
    • remove_action(genesis_after_post_content,genesis_post_meta);
    • remove_action(genesis_after_post,genesis_do_author_box_single);
    • remove_action(genesis_after_endwhile,genesis_posts_nav);
    • remove_action(genesis_loop,genesis_do_loop);
    • remove_action(genesis_after_post,genesis_get_comments_template);
    • remove_action(genesis_comments,genesis_do_comments);
    • remove_action(genesis_pings,genesis_do_pings);
    • remove_action(genesis_list_comments,genesis_default_list_comments);
    • remove_action(genesis_list_pings,genesis_default_list_pings);
    • remove_action(genesis_comment_form,genesis_do_comment_form);
    • remove_action(genesis_sidebar,genesis_do_sidebar);
    • remove_action(genesis_sidebar_alt,genesis_do_sidebar_alt);
    • remove_action(genesis_before_loop,genesis_do_taxonomy_title_description);
    • remove_action(genesis_before_loop,genesis_do_author_title_description);
    • remove_action(genesis_before_loop,genesis_do_author_box_archive);
    • remove_action(genesis_before_header,ifb_include_topnav);
    • remove_action(genesis_footer,ifb_include_footnav);
    http://9seeds.com/remove-actions/
  •  
  • /wp-includes/plugins.php
  • Additional Resources
    • http://codex.wordpress.org/Child_Themes
    • http://dev.studiopress.com
    • http://studiopress.com/support
  • Thanks for Listening!
    • Email: john@9seeds.com
    • Twitter: @vegasgeek
    • Skype: vegasgeek