SlideShare une entreprise Scribd logo
1  sur  35
From Start to Awesome in Under an Hour* An introduction to StudioPress child themes * providing you’re better at making graphics than I am.
John Hawkins WordPress Developerat 9seeds.com WordCamp Groupie Geek(you probably guessed that part)
DISCLAIMER! Genesis is a premium theme. I do not work for StudioPress. I’m just a bit of a fanboy.
Do I have to use Genesis? 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
Template Hierarchy http://codex.wordpress.org/images/1/18/Template_Hierarchy.png
Genesis Options Page
Genesis Widgets
Category/Page Nav Menus
User Profile
Featured Page
Featured Posts
Time to Customize
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
Swapping Graphics, FTW!
Inspect Element
Started With This
Ended With This Replaced 4 graphics Added a logo Tweaked CSS Added Logo Google Fonts Font Colors
Tweaking a Template
home.php
Custom Post Output 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

Contenu connexe

Tendances

Meetup child-themes
Meetup child-themesMeetup child-themes
Meetup child-themesDaisyOlsen
 
Meetup child-themes
Meetup child-themesMeetup child-themes
Meetup child-themesDaisyOlsen
 
2009-08-28-WordPress-Parent-Child-Themes
2009-08-28-WordPress-Parent-Child-Themes2009-08-28-WordPress-Parent-Child-Themes
2009-08-28-WordPress-Parent-Child-ThemesLightSpeed
 
Parent and child themes
Parent and child themesParent and child themes
Parent and child themesTom Jenkins
 
WordPress Child Themes
WordPress Child ThemesWordPress Child Themes
WordPress Child ThemesAlison Foxall
 
Theme development essentials columbus oh word camp 2012
Theme development essentials   columbus oh word camp 2012Theme development essentials   columbus oh word camp 2012
Theme development essentials columbus oh word camp 2012Joe Querin
 
Custom Menu Support for WordPress Themes
Custom Menu Support for WordPress ThemesCustom Menu Support for WordPress Themes
Custom Menu Support for WordPress ThemesDaisyOlsen
 
Customizing WordPress Themes
Customizing WordPress ThemesCustomizing WordPress Themes
Customizing WordPress ThemesLaura Hartwig
 
Getting the Most out of the Genesis Theme Framework
Getting the Most out of the Genesis Theme FrameworkGetting the Most out of the Genesis Theme Framework
Getting the Most out of the Genesis Theme FrameworkEast Bay WordPress Meetup
 
Approaches To WordPress Theme Development
Approaches To WordPress Theme DevelopmentApproaches To WordPress Theme Development
Approaches To WordPress Theme DevelopmentCatch Themes
 
The WordPress Hosting Decision: It All Starts Here
The WordPress Hosting Decision: It All Starts HereThe WordPress Hosting Decision: It All Starts Here
The WordPress Hosting Decision: It All Starts HereBusiness Vitality LLC
 
Introduction to WordPress Child Theming, WordCamp Kansas City, 2015
Introduction to WordPress Child Theming, WordCamp Kansas City, 2015Introduction to WordPress Child Theming, WordCamp Kansas City, 2015
Introduction to WordPress Child Theming, WordCamp Kansas City, 2015topher1kenobe
 
Intro to Plugin Development, Miami WordCamp, 2015
Intro to Plugin Development, Miami WordCamp, 2015Intro to Plugin Development, Miami WordCamp, 2015
Intro to Plugin Development, Miami WordCamp, 2015topher1kenobe
 
WordPress Websites: Making and Marketing with Jupiter Jim
WordPress Websites: Making and Marketing with Jupiter Jim WordPress Websites: Making and Marketing with Jupiter Jim
WordPress Websites: Making and Marketing with Jupiter Jim jupiterjim
 
How to Start a WordPress Blog easily (from A to Z)
How to Start a WordPress Blog easily (from A to Z)How to Start a WordPress Blog easily (from A to Z)
How to Start a WordPress Blog easily (from A to Z)Peter Nguyen
 
WordPress 101 Sunday Session
WordPress 101 Sunday SessionWordPress 101 Sunday Session
WordPress 101 Sunday Sessionpamselle
 
#WCDFW Presentation Choosing Themes &
#WCDFW Presentation Choosing Themes & #WCDFW Presentation Choosing Themes &
#WCDFW Presentation Choosing Themes & Susan Ramsey
 
How to Avoid the Most Common Mistakes in Setting Up Your WordPress Blog
How to Avoid the Most Common Mistakes in Setting Up Your WordPress BlogHow to Avoid the Most Common Mistakes in Setting Up Your WordPress Blog
How to Avoid the Most Common Mistakes in Setting Up Your WordPress BlogBobWP.com
 
Building Websites of the Future With Drupal 7
Building Websites of the Future With Drupal 7Building Websites of the Future With Drupal 7
Building Websites of the Future With Drupal 7Jay Epstein
 

Tendances (20)

Meetup child-themes
Meetup child-themesMeetup child-themes
Meetup child-themes
 
Meetup child-themes
Meetup child-themesMeetup child-themes
Meetup child-themes
 
2009-08-28-WordPress-Parent-Child-Themes
2009-08-28-WordPress-Parent-Child-Themes2009-08-28-WordPress-Parent-Child-Themes
2009-08-28-WordPress-Parent-Child-Themes
 
Parent and child themes
Parent and child themesParent and child themes
Parent and child themes
 
WordPress Child Themes
WordPress Child ThemesWordPress Child Themes
WordPress Child Themes
 
Theme development essentials columbus oh word camp 2012
Theme development essentials   columbus oh word camp 2012Theme development essentials   columbus oh word camp 2012
Theme development essentials columbus oh word camp 2012
 
Custom Menu Support for WordPress Themes
Custom Menu Support for WordPress ThemesCustom Menu Support for WordPress Themes
Custom Menu Support for WordPress Themes
 
Customizing WordPress Themes
Customizing WordPress ThemesCustomizing WordPress Themes
Customizing WordPress Themes
 
Getting the Most out of the Genesis Theme Framework
Getting the Most out of the Genesis Theme FrameworkGetting the Most out of the Genesis Theme Framework
Getting the Most out of the Genesis Theme Framework
 
Themes 101
Themes 101Themes 101
Themes 101
 
Approaches To WordPress Theme Development
Approaches To WordPress Theme DevelopmentApproaches To WordPress Theme Development
Approaches To WordPress Theme Development
 
The WordPress Hosting Decision: It All Starts Here
The WordPress Hosting Decision: It All Starts HereThe WordPress Hosting Decision: It All Starts Here
The WordPress Hosting Decision: It All Starts Here
 
Introduction to WordPress Child Theming, WordCamp Kansas City, 2015
Introduction to WordPress Child Theming, WordCamp Kansas City, 2015Introduction to WordPress Child Theming, WordCamp Kansas City, 2015
Introduction to WordPress Child Theming, WordCamp Kansas City, 2015
 
Intro to Plugin Development, Miami WordCamp, 2015
Intro to Plugin Development, Miami WordCamp, 2015Intro to Plugin Development, Miami WordCamp, 2015
Intro to Plugin Development, Miami WordCamp, 2015
 
WordPress Websites: Making and Marketing with Jupiter Jim
WordPress Websites: Making and Marketing with Jupiter Jim WordPress Websites: Making and Marketing with Jupiter Jim
WordPress Websites: Making and Marketing with Jupiter Jim
 
How to Start a WordPress Blog easily (from A to Z)
How to Start a WordPress Blog easily (from A to Z)How to Start a WordPress Blog easily (from A to Z)
How to Start a WordPress Blog easily (from A to Z)
 
WordPress 101 Sunday Session
WordPress 101 Sunday SessionWordPress 101 Sunday Session
WordPress 101 Sunday Session
 
#WCDFW Presentation Choosing Themes &
#WCDFW Presentation Choosing Themes & #WCDFW Presentation Choosing Themes &
#WCDFW Presentation Choosing Themes &
 
How to Avoid the Most Common Mistakes in Setting Up Your WordPress Blog
How to Avoid the Most Common Mistakes in Setting Up Your WordPress BlogHow to Avoid the Most Common Mistakes in Setting Up Your WordPress Blog
How to Avoid the Most Common Mistakes in Setting Up Your WordPress Blog
 
Building Websites of the Future With Drupal 7
Building Websites of the Future With Drupal 7Building Websites of the Future With Drupal 7
Building Websites of the Future With Drupal 7
 

En vedette

Word of the day isabel d
Word of the day isabel dWord of the day isabel d
Word of the day isabel dspmath
 
Tech Steward Tuesday about Facebook
Tech Steward Tuesday about FacebookTech Steward Tuesday about Facebook
Tech Steward Tuesday about FacebookDJ Chuang
 
Superheroes week 1
Superheroes week 1Superheroes week 1
Superheroes week 1fs2teacher
 
HostMarriott_04AnnualReport
HostMarriott_04AnnualReportHostMarriott_04AnnualReport
HostMarriott_04AnnualReportfinance38
 
Ibm Swg Social Media Marketing Delphine Remy Boutang 3rd March
Ibm Swg Social Media Marketing Delphine Remy Boutang 3rd MarchIbm Swg Social Media Marketing Delphine Remy Boutang 3rd March
Ibm Swg Social Media Marketing Delphine Remy Boutang 3rd Marchguestca2060b
 
Delivering Happiness - CISCO - 6.3.11
Delivering Happiness - CISCO - 6.3.11Delivering Happiness - CISCO - 6.3.11
Delivering Happiness - CISCO - 6.3.11Delivering Happiness
 

En vedette (8)

Itransition for eCommerce
Itransition for eCommerceItransition for eCommerce
Itransition for eCommerce
 
Word of the day isabel d
Word of the day isabel dWord of the day isabel d
Word of the day isabel d
 
Tech Steward Tuesday about Facebook
Tech Steward Tuesday about FacebookTech Steward Tuesday about Facebook
Tech Steward Tuesday about Facebook
 
Superheroes week 1
Superheroes week 1Superheroes week 1
Superheroes week 1
 
Flowers
FlowersFlowers
Flowers
 
HostMarriott_04AnnualReport
HostMarriott_04AnnualReportHostMarriott_04AnnualReport
HostMarriott_04AnnualReport
 
Ibm Swg Social Media Marketing Delphine Remy Boutang 3rd March
Ibm Swg Social Media Marketing Delphine Remy Boutang 3rd MarchIbm Swg Social Media Marketing Delphine Remy Boutang 3rd March
Ibm Swg Social Media Marketing Delphine Remy Boutang 3rd March
 
Delivering Happiness - CISCO - 6.3.11
Delivering Happiness - CISCO - 6.3.11Delivering Happiness - CISCO - 6.3.11
Delivering Happiness - CISCO - 6.3.11
 

Similaire à Intro to StudioPress child themes

WordCamp Reno 2011 - Intro to Genesis Child Themes
WordCamp Reno 2011 - Intro to Genesis Child ThemesWordCamp Reno 2011 - Intro to Genesis Child Themes
WordCamp Reno 2011 - Intro to Genesis Child Themesvegasgeek
 
Intro to WordPress Child Themes
Intro to WordPress Child ThemesIntro to WordPress Child Themes
Intro to WordPress Child Themesvegasgeek
 
Meetup child-themes
Meetup child-themesMeetup child-themes
Meetup child-themesDaisyOlsen
 
WordPress Child Themes
WordPress Child ThemesWordPress Child Themes
WordPress Child Themesrfair404
 
Intro to child themes
Intro to child themesIntro to child themes
Intro to child themesvegasgeek
 
Theme frameworks & child themes
Theme frameworks & child themesTheme frameworks & child themes
Theme frameworks & child themesChris Olbekson
 
What are child themes, and why use them
What are child themes, and why use themWhat are child themes, and why use them
What are child themes, and why use themUtsav Singh Rathour
 
Child Themes in WordPress
Child Themes in WordPressChild Themes in WordPress
Child Themes in WordPressJeff Cohan
 
Responsive Theme Workshop - WordCamp Columbus 2015
Responsive Theme Workshop - WordCamp Columbus 2015Responsive Theme Workshop - WordCamp Columbus 2015
Responsive Theme Workshop - WordCamp Columbus 2015Joe Querin
 
WordPress Child Themes
WordPress Child ThemesWordPress Child Themes
WordPress Child Themesopenchamp
 
WortdPress Child themes: Why and How
WortdPress Child themes: Why and HowWortdPress Child themes: Why and How
WortdPress Child themes: Why and HowPaul Bearne
 
Introduction to WordPress Child Themes
Introduction to WordPress Child ThemesIntroduction to WordPress Child Themes
Introduction to WordPress Child Themesoneilldec
 
Week 9 - Introduction to Child Themes
Week 9  - Introduction to Child ThemesWeek 9  - Introduction to Child Themes
Week 9 - Introduction to Child Themeshenri_makembe
 
Theme Wrangling 101
Theme Wrangling 101Theme Wrangling 101
Theme Wrangling 101mikeyarce
 
WordPress Child Themes: The what. The why. The how.
WordPress Child Themes: The what. The why. The how.WordPress Child Themes: The what. The why. The how.
WordPress Child Themes: The what. The why. The how.Janelle Reichman
 
How To Choose A Theme
How To Choose A ThemeHow To Choose A Theme
How To Choose A ThemeNicky Pink
 
Getting Started With WordPress Themes for Beginners
Getting Started With WordPress Themes for BeginnersGetting Started With WordPress Themes for Beginners
Getting Started With WordPress Themes for BeginnersNew Tricks
 
April 2016 - Atlanta WordPress Users Group - Child Themes
April 2016 - Atlanta WordPress Users Group - Child ThemesApril 2016 - Atlanta WordPress Users Group - Child Themes
April 2016 - Atlanta WordPress Users Group - Child ThemesEric Sembrat
 

Similaire à Intro to StudioPress child themes (20)

WordCamp Reno 2011 - Intro to Genesis Child Themes
WordCamp Reno 2011 - Intro to Genesis Child ThemesWordCamp Reno 2011 - Intro to Genesis Child Themes
WordCamp Reno 2011 - Intro to Genesis Child Themes
 
Intro to WordPress Child Themes
Intro to WordPress Child ThemesIntro to WordPress Child Themes
Intro to WordPress Child Themes
 
Meetup child-themes
Meetup child-themesMeetup child-themes
Meetup child-themes
 
WordPress Child Themes
WordPress Child ThemesWordPress Child Themes
WordPress Child Themes
 
Intro to child themes
Intro to child themesIntro to child themes
Intro to child themes
 
Theme frameworks & child themes
Theme frameworks & child themesTheme frameworks & child themes
Theme frameworks & child themes
 
What are child themes, and why use them
What are child themes, and why use themWhat are child themes, and why use them
What are child themes, and why use them
 
Child Themes in WordPress
Child Themes in WordPressChild Themes in WordPress
Child Themes in WordPress
 
Responsive Theme Workshop - WordCamp Columbus 2015
Responsive Theme Workshop - WordCamp Columbus 2015Responsive Theme Workshop - WordCamp Columbus 2015
Responsive Theme Workshop - WordCamp Columbus 2015
 
WordPress Child Themes
WordPress Child ThemesWordPress Child Themes
WordPress Child Themes
 
WortdPress Child themes: Why and How
WortdPress Child themes: Why and HowWortdPress Child themes: Why and How
WortdPress Child themes: Why and How
 
HTML/CSS for WordPress
HTML/CSS for WordPressHTML/CSS for WordPress
HTML/CSS for WordPress
 
Introduction to WordPress Child Themes
Introduction to WordPress Child ThemesIntroduction to WordPress Child Themes
Introduction to WordPress Child Themes
 
Week 9 - Introduction to Child Themes
Week 9  - Introduction to Child ThemesWeek 9  - Introduction to Child Themes
Week 9 - Introduction to Child Themes
 
Theme Wrangling 101
Theme Wrangling 101Theme Wrangling 101
Theme Wrangling 101
 
WordPress Child Themes: The what. The why. The how.
WordPress Child Themes: The what. The why. The how.WordPress Child Themes: The what. The why. The how.
WordPress Child Themes: The what. The why. The how.
 
How To Choose A Theme
How To Choose A ThemeHow To Choose A Theme
How To Choose A Theme
 
Getting Started With WordPress Themes for Beginners
Getting Started With WordPress Themes for BeginnersGetting Started With WordPress Themes for Beginners
Getting Started With WordPress Themes for Beginners
 
Child Theme
Child ThemeChild Theme
Child Theme
 
April 2016 - Atlanta WordPress Users Group - Child Themes
April 2016 - Atlanta WordPress Users Group - Child ThemesApril 2016 - Atlanta WordPress Users Group - Child Themes
April 2016 - Atlanta WordPress Users Group - Child Themes
 

Plus de vegasgeek

2019 WordCamp Orange County - An Introduction to the WordPress REST API
2019 WordCamp Orange County - An Introduction to the WordPress REST API2019 WordCamp Orange County - An Introduction to the WordPress REST API
2019 WordCamp Orange County - An Introduction to the WordPress REST APIvegasgeek
 
Building an Autonomous Website
Building an Autonomous WebsiteBuilding an Autonomous Website
Building an Autonomous Websitevegasgeek
 
Building An Autonomous Website
Building An Autonomous WebsiteBuilding An Autonomous Website
Building An Autonomous Websitevegasgeek
 
Jetpack: The Swiss Army Knife of Plugins
Jetpack: The Swiss Army Knife of PluginsJetpack: The Swiss Army Knife of Plugins
Jetpack: The Swiss Army Knife of Pluginsvegasgeek
 
Y U No Tell Me? - WordCamp Tampa 2014
Y U No Tell Me? - WordCamp Tampa 2014Y U No Tell Me? - WordCamp Tampa 2014
Y U No Tell Me? - WordCamp Tampa 2014vegasgeek
 
WordPress Use Cases
WordPress Use CasesWordPress Use Cases
WordPress Use Casesvegasgeek
 
Using BuddyPress as a Directory - BuddyCamp Minneapolis 2013
Using BuddyPress as a Directory - BuddyCamp Minneapolis 2013Using BuddyPress as a Directory - BuddyCamp Minneapolis 2013
Using BuddyPress as a Directory - BuddyCamp Minneapolis 2013vegasgeek
 
An into to using $wpdb with your own database tables
An into to using $wpdb with your own database tablesAn into to using $wpdb with your own database tables
An into to using $wpdb with your own database tablesvegasgeek
 
An introduction to WordPress Development
An introduction to WordPress DevelopmentAn introduction to WordPress Development
An introduction to WordPress Developmentvegasgeek
 
An Introduction to Multisite - WordCamp Phoenix
An Introduction to Multisite - WordCamp PhoenixAn Introduction to Multisite - WordCamp Phoenix
An Introduction to Multisite - WordCamp Phoenixvegasgeek
 
WordPress meetup - 10 plugins
WordPress meetup - 10 pluginsWordPress meetup - 10 plugins
WordPress meetup - 10 pluginsvegasgeek
 
Building your first plugin by John Hawkins at WordCamp MSP
Building your first plugin by John Hawkins at WordCamp MSPBuilding your first plugin by John Hawkins at WordCamp MSP
Building your first plugin by John Hawkins at WordCamp MSPvegasgeek
 
Beginning Plugin d
Beginning Plugin dBeginning Plugin d
Beginning Plugin dvegasgeek
 
Using WordPress as a CMS for Affiliate Marketing
Using WordPress as a CMS for Affiliate MarketingUsing WordPress as a CMS for Affiliate Marketing
Using WordPress as a CMS for Affiliate Marketingvegasgeek
 

Plus de vegasgeek (14)

2019 WordCamp Orange County - An Introduction to the WordPress REST API
2019 WordCamp Orange County - An Introduction to the WordPress REST API2019 WordCamp Orange County - An Introduction to the WordPress REST API
2019 WordCamp Orange County - An Introduction to the WordPress REST API
 
Building an Autonomous Website
Building an Autonomous WebsiteBuilding an Autonomous Website
Building an Autonomous Website
 
Building An Autonomous Website
Building An Autonomous WebsiteBuilding An Autonomous Website
Building An Autonomous Website
 
Jetpack: The Swiss Army Knife of Plugins
Jetpack: The Swiss Army Knife of PluginsJetpack: The Swiss Army Knife of Plugins
Jetpack: The Swiss Army Knife of Plugins
 
Y U No Tell Me? - WordCamp Tampa 2014
Y U No Tell Me? - WordCamp Tampa 2014Y U No Tell Me? - WordCamp Tampa 2014
Y U No Tell Me? - WordCamp Tampa 2014
 
WordPress Use Cases
WordPress Use CasesWordPress Use Cases
WordPress Use Cases
 
Using BuddyPress as a Directory - BuddyCamp Minneapolis 2013
Using BuddyPress as a Directory - BuddyCamp Minneapolis 2013Using BuddyPress as a Directory - BuddyCamp Minneapolis 2013
Using BuddyPress as a Directory - BuddyCamp Minneapolis 2013
 
An into to using $wpdb with your own database tables
An into to using $wpdb with your own database tablesAn into to using $wpdb with your own database tables
An into to using $wpdb with your own database tables
 
An introduction to WordPress Development
An introduction to WordPress DevelopmentAn introduction to WordPress Development
An introduction to WordPress Development
 
An Introduction to Multisite - WordCamp Phoenix
An Introduction to Multisite - WordCamp PhoenixAn Introduction to Multisite - WordCamp Phoenix
An Introduction to Multisite - WordCamp Phoenix
 
WordPress meetup - 10 plugins
WordPress meetup - 10 pluginsWordPress meetup - 10 plugins
WordPress meetup - 10 plugins
 
Building your first plugin by John Hawkins at WordCamp MSP
Building your first plugin by John Hawkins at WordCamp MSPBuilding your first plugin by John Hawkins at WordCamp MSP
Building your first plugin by John Hawkins at WordCamp MSP
 
Beginning Plugin d
Beginning Plugin dBeginning Plugin d
Beginning Plugin d
 
Using WordPress as a CMS for Affiliate Marketing
Using WordPress as a CMS for Affiliate MarketingUsing WordPress as a CMS for Affiliate Marketing
Using WordPress as a CMS for Affiliate Marketing
 

Dernier

Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxAmita Gupta
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 

Dernier (20)

Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 

Intro to StudioPress child themes

  • 1. From Start to Awesome in Under an Hour* An introduction to StudioPress child themes * providing you’re better at making graphics than I am.
  • 2. John Hawkins WordPress Developerat 9seeds.com WordCamp Groupie Geek(you probably guessed that part)
  • 3. DISCLAIMER! Genesis is a premium theme. I do not work for StudioPress. I’m just a bit of a fanboy.
  • 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
  • 7. Parent Vs Child File List Genesis File List Agency File List
  • 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
  • 22.
  • 24.
  • 25. Custom Post Output Using hooks & filters
  • 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/
  • 32.
  • 34. Additional Resources http://codex.wordpress.org/Child_Themes http://dev.studiopress.com http://studiopress.com/support
  • 35. Thanks for Listening! Email: john@9seeds.com Twitter: @vegasgeek Skype: vegasgeek

Notes de l'éditeur

  1. Each theme contains a PSD folder inside the images folder that contains layered files for each graphic you may want to change.
  2. Each theme contains a PSD folder inside the images folder that contains layered files for each graphic you may want to change.
  3. Each theme contains a PSD folder inside the images folder that contains layered files for each graphic you may want to change.
  4. Each theme contains a PSD folder inside the images folder that contains layered files for each graphic you may want to change.
  5. Each theme contains a PSD folder inside the images folder that contains layered files for each graphic you may want to change.