Mais conteúdo relacionado Semelhante a Intro to StudioPress child themes (20) Intro to StudioPress child themes1. From Start to Awesome in Under an Hour* An introduction to StudioPress child themes * providing you’re better at making graphics than I am. 4. Do I have to use Genesis? Nope! There are plenty of frameworks to choose from. Headway, Thematic, TwentyTen 5. 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. 6. What is a Parent Theme? Contains the default theme files Hooks & Filters Built in functionality 16. 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 20. Ended With This Replaced 4 graphics Added a logo Tweaked CSS Added Logo Google Fonts Font Colors 27. single.php Note: Look in the functions.php file of any Genesis child theme for all sorts of goodies like this. 31. 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/ Notas do Editor 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.