SlideShare una empresa de Scribd logo
1 de 22
Theme Development
Essentials
WordCamp Columbus 2012
Topics
 What is a Theme?
   What can a Theme do?
 Theme Frameworks… Theme What?
 Making a Theme Responsible
 Why create a Custom Theme?
 Where to Start
 Tips
 Q&A
Who is Joe?
 Graphic Design and Computer Art background
 Web Designer/Developer for 15 years
 Work for a community college full-time
 Own my consultant business
 Self taught in Asp.Net, PHP, HTML, CSS,
   Javascript, jQuery, SQL
 Working with WordPress for little over 1 year
 Developed 6 custom themes and counting
What is a Theme?
 A theme is a collection of php scripts, a css file and maybe a
  few images to create the look and feel for a WordPress site.
 A theme can also introduce functionality to a WordPress site.
     Custom Post Types
     Theme Options
     Sidebars
     Navigation Menus
     And much, much more…
Basic Theme Files
 Style.css – Contains base theme information and styles for
  site.
 Header.php – Starts the web page, and contains the header
  information
 Index.php – Contains the call to the header, footer, and loop.
  Could include other custom html if needed for the homepage.
 Loop.php – Contains the php code used to display the posts.
  Also the last resort file for anything that is displayed from
  WordPress
 Footer.php – Finishes the body, includes the footer of the
  webpage, and should finish the page, ie. “</html>”
Basic Theme Files
 Sidebar.php – Used to contain the widget areas for the site.

Non-Essential
 page.php, category.php, tag.php, author.php, single.php,
  archive.php, taxonomy.php, date.php, single-{post-type}.php,
  home.php, front-page.php, 404.php
Style.css
/*
Theme Name: Twenty Ten Theme
URI: http://wordpress.org/
Description: The 2010 default theme for WordPress.
Author: wordpressdotorg
Author URI: http://wordpress.org/
Version: 1.0
Tags: black, blue, white, two-columns, fixed-width, custom-header,
custom-background, threaded-comments, sticky-post, translation-
ready, microformats, rtl-language-support, editor-style, custom-
menu (optional)
License: License
URI:

General comments (optional).
*/
Basic - Style.css
/*
Theme Name:
Description:
Author:
Tags:
Version: 1.0
*/
Theme Frameworks…
                Theme What?
 Frameworks allow rapid development of a theme
 Commonly used functionality is built already
 Allows developer to update underlying functionality without
  messing with design.
 Design is generally handled in a Child Theme
Available Frameworks
 Thematic – Free
   themeshaper.com/thematic
 Thesis – Costs
   diythemes.com/thesis
 Genesis – Costs
   studiopress.com/themes/genesis
 Gantry – Free
   gantry-framework.org
 Pagelines – Costs
   pagelines.com
Available Frameworks
 Hybrid – Free
   themehybrid.com
 HEADWAY – Costs
   headwaythemes.com
 Whiteboard – Free
   whiteboardframework.com
Making a Theme Responsible
 Child Themes allow a designer to change the
  look of a theme without interfering with underlying
  functionality
 Parent Theme can be updated when core
  changes.
 Child Themes can contain just design code,
  without the need to mess with the functionality
  code.
Child Theme – Style.css
/*
Theme Name: Twenty Eleven Child Theme
URI: http://example.com/
Description: Child theme for the Twenty Eleven
theme
Author: Your name here Author
URI: http://example.com/about/
Template: twentyeleven
Version: 0.1.0
*/
           codex.wordpress.org/Child_Themes
Why Create a Custom Theme?
 Functionality is required, that cannot be accomplished
  through plugins
 Unable to find a theme that can either be modified or have a
  child theme created for it.
 Because you want to!
Where to Start?
 WordPress Codex
   codex.wordpress.org/Theme_Development
 Look at a sample theme (Twenty Ten or Twenty Eleven)
   Both are child theme friendly, can someone say “Framework”
 Download a theme from the wordpress.org Respository

 What not to do
   Download a theme from a “free wordpress theme” web search.
Where to Start?
 Are you going to create a framework, use a framework to
  start?
 Will the theme be a child theme based on someone else‟s
  theme?

 How will the site function?
   Will it be mostly posts, or pages, or a mix?
 Create a design for your theme.
 Decide how to divide your theme, so you can create the
  necessary files.
Tips
 Codex – codex.wordpress.org/Theme_Development
 Use define(„WPDEBUG‟, true) in your wp-config file to see
  any deprecated function calls or other WordPress related
  errors.
   codex.wordpress.org/Theme_Development#Theme_Testing_Pro
    cess
 Break your Theme!
   http://codex.wordpress.org/Theme_Unit_Test
 Theme Checker plugin
   bit.ly/Theme-Checker
 Do not hack core!!
Tips
 If you‟re creating a custom theme, add your Google Analytics
  tracking code directly to your header code, don‟t use a
  plugin.
 Evaluate your plugins that you currently use, and see which
  ones you can make obsolete by doing the same thing with
  code in your theme.
 Grab a good book
   Smashing Magazine
   OReilly
 Do not hack core!!
Tips
 If you are missing the admin bar, make sure you have
    <?php wp_footer(); ?> in your footer.php file.
 Run a web server on your workstation/laptop for theme
  development
     Install a multi-site install
     Install a regular install
     Install a theme breaking site
     Keep your development workstation up-to-date!
 Do not hack core!!
Helpful Links
 Theme Unit Test (used for breaking your theme)
   codex.wordpress.org/Theme_Unit_Test
 Theme Check Plugin
   bit.ly/Theme-Check
 Theme Heirarchy
   codex.wordpress.org/Template_Hierarchy
 WordPress Codex
   codex.wordpress.org/Theme_Development
Q&A
 Twitter: @joequerin
 Email: joe@unlimitedimaginationstudio.com
 Website: www.unlimitedimaginationstudio.com

Más contenido relacionado

La actualidad más candente

Meetup child-themes
Meetup child-themesMeetup child-themes
Meetup child-themes
DaisyOlsen
 
Week 9 - Introduction to Child Themes
Week 9  - Introduction to Child ThemesWeek 9  - Introduction to Child Themes
Week 9 - Introduction to Child Themes
henri_makembe
 

La actualidad más candente (20)

WordPress Theme Development: Part 2
WordPress Theme Development: Part 2WordPress Theme Development: Part 2
WordPress Theme Development: Part 2
 
Wordpress theme submission requirement for Themeforest
Wordpress theme submission requirement for ThemeforestWordpress theme submission requirement for Themeforest
Wordpress theme submission requirement for Themeforest
 
Child Theming: An Introduction to Wordpress Theme Development with Wordpres...
Child Theming: An Introduction to  Wordpress Theme Development  with Wordpres...Child Theming: An Introduction to  Wordpress Theme Development  with Wordpres...
Child Theming: An Introduction to Wordpress Theme Development with Wordpres...
 
Introduction to Custom WordPress Themeing
Introduction to Custom WordPress ThemeingIntroduction to Custom WordPress Themeing
Introduction to Custom WordPress Themeing
 
What is (not) WordPress
What is (not) WordPressWhat is (not) WordPress
What is (not) WordPress
 
Wordpress 101 Training
Wordpress 101 TrainingWordpress 101 Training
Wordpress 101 Training
 
Child Themes in WordPress
Child Themes in WordPressChild Themes in WordPress
Child Themes in WordPress
 
How to Create WordPress Website in Easy Steps
How to Create WordPress Website in Easy StepsHow to Create WordPress Website in Easy Steps
How to Create WordPress Website in Easy Steps
 
Introduction to WordPress Theme Development
Introduction to WordPress Theme DevelopmentIntroduction to WordPress Theme Development
Introduction to WordPress Theme Development
 
Responsive Theme Workshop - WordCamp Columbus 2015
Responsive Theme Workshop - WordCamp Columbus 2015Responsive Theme Workshop - WordCamp Columbus 2015
Responsive Theme Workshop - WordCamp Columbus 2015
 
Meetup child-themes
Meetup child-themesMeetup child-themes
Meetup child-themes
 
Meetup child-themes
Meetup child-themesMeetup child-themes
Meetup child-themes
 
WordPress Theme Development Basics
WordPress Theme Development BasicsWordPress Theme Development Basics
WordPress Theme Development Basics
 
Intro to WordPress theme development
Intro to WordPress theme developmentIntro to WordPress theme development
Intro to WordPress theme development
 
WordPress Theme Development for Designers
WordPress Theme Development for DesignersWordPress Theme Development for Designers
WordPress Theme Development for Designers
 
Custom Menu Support for WordPress Themes
Custom Menu Support for WordPress ThemesCustom Menu Support for WordPress Themes
Custom Menu Support for WordPress Themes
 
Cms & wordpress theme development 2011
Cms & wordpress theme development 2011Cms & wordpress theme development 2011
Cms & wordpress theme development 2011
 
Introduction To WordPress
Introduction To WordPressIntroduction To WordPress
Introduction To WordPress
 
Week 9 - Introduction to Child Themes
Week 9  - Introduction to Child ThemesWeek 9  - Introduction to Child Themes
Week 9 - Introduction to Child Themes
 
Choosing Themes
Choosing ThemesChoosing Themes
Choosing Themes
 

Similar a Theme development essentials columbus oh word camp 2012

Theme frameworks & child themes
Theme frameworks & child themesTheme frameworks & child themes
Theme frameworks & child themes
Chris Olbekson
 
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
LightSpeed
 

Similar a Theme development essentials columbus oh word camp 2012 (20)

Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
 
WordPress 2.5 Overview - Rich Media Institute
WordPress 2.5 Overview - Rich Media InstituteWordPress 2.5 Overview - Rich Media Institute
WordPress 2.5 Overview - Rich Media Institute
 
Customizing WordPress Themes
Customizing WordPress ThemesCustomizing WordPress Themes
Customizing WordPress Themes
 
WordPress Theming 101
WordPress Theming 101WordPress Theming 101
WordPress Theming 101
 
WordPress Theme Workshop: Part 3
WordPress Theme Workshop: Part 3WordPress Theme Workshop: Part 3
WordPress Theme Workshop: Part 3
 
Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25
 
Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08Wordpress Beyond A Blog Word Camp Toronto08
Wordpress Beyond A Blog Word Camp Toronto08
 
Theme frameworks & child themes
Theme frameworks & child themesTheme frameworks & child themes
Theme frameworks & child themes
 
HTML/CSS for WordPress
HTML/CSS for WordPressHTML/CSS for WordPress
HTML/CSS for WordPress
 
WordPress Theme Workshop: Part 4
WordPress Theme Workshop: Part 4WordPress Theme Workshop: Part 4
WordPress Theme Workshop: Part 4
 
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
 
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentWordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
 
WordPress Theme Development
WordPress Theme DevelopmentWordPress Theme Development
WordPress Theme Development
 
The Way to Theme Enlightenment
The Way to Theme EnlightenmentThe Way to Theme Enlightenment
The Way to Theme Enlightenment
 
How To Choose A Theme
How To Choose A ThemeHow To Choose A Theme
How To Choose A Theme
 
WortdPress Child themes: Why and How
WortdPress Child themes: Why and HowWortdPress Child themes: Why and How
WortdPress Child themes: Why and How
 
Getting started with WordPress development
Getting started with WordPress developmentGetting started with WordPress development
Getting started with WordPress development
 
Wordpress For Begineer
Wordpress For BegineerWordpress For Begineer
Wordpress For Begineer
 
Child Themes and CSS in WordPress
Child Themes and CSS in WordPressChild Themes and CSS in WordPress
Child Themes and CSS in WordPress
 
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017 So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
So, You Wanna Dev? Join the Team! - WordCamp Raleigh 2017
 

Más de Joe Querin

Más de Joe Querin (14)

WP 101 - Local Development - Themes and Plugins
WP 101 - Local Development - Themes and PluginsWP 101 - Local Development - Themes and Plugins
WP 101 - Local Development - Themes and Plugins
 
WP 101 - Custom Fields & Post Types
WP 101 - Custom Fields & Post TypesWP 101 - Custom Fields & Post Types
WP 101 - Custom Fields & Post Types
 
WP101 - Themes and Plugins
WP101 - Themes and PluginsWP101 - Themes and Plugins
WP101 - Themes and Plugins
 
WP 101 - WordPress Basics
WP 101 - WordPress BasicsWP 101 - WordPress Basics
WP 101 - WordPress Basics
 
WordCamp Kent 2019 - WP 101: Guten.. What?
WordCamp Kent 2019 - WP 101: Guten.. What?WordCamp Kent 2019 - WP 101: Guten.. What?
WordCamp Kent 2019 - WP 101: Guten.. What?
 
WordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins
WordCamp Kent 2019 - WP 101: Local Development - Themes and PluginsWordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins
WordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins
 
WordCamp Kent 2019 - WP 101: Custom Post Type & Custom Fields
WordCamp Kent 2019 - WP 101: Custom Post Type & Custom FieldsWordCamp Kent 2019 - WP 101: Custom Post Type & Custom Fields
WordCamp Kent 2019 - WP 101: Custom Post Type & Custom Fields
 
WordCamp Kent 2019 - WP 101: Themes & Plugins: What are they, and where do I ...
WordCamp Kent 2019 - WP 101: Themes & Plugins: What are they, and where do I ...WordCamp Kent 2019 - WP 101: Themes & Plugins: What are they, and where do I ...
WordCamp Kent 2019 - WP 101: Themes & Plugins: What are they, and where do I ...
 
WordCamp Kent 2019 - WP 101: WordPress Basics
WordCamp Kent 2019 - WP 101: WordPress BasicsWordCamp Kent 2019 - WP 101: WordPress Basics
WordCamp Kent 2019 - WP 101: WordPress Basics
 
One Plugin to Rule All Your Custom Code
One Plugin to Rule All Your Custom CodeOne Plugin to Rule All Your Custom Code
One Plugin to Rule All Your Custom Code
 
Why & How to Create a WordPress Plugin
Why & How to Create a WordPress PluginWhy & How to Create a WordPress Plugin
Why & How to Create a WordPress Plugin
 
Building a WordPress Sandbox
Building a WordPress SandboxBuilding a WordPress Sandbox
Building a WordPress Sandbox
 
Using WordPress as a web application platform
Using WordPress as a web application platformUsing WordPress as a web application platform
Using WordPress as a web application platform
 
WP 201 Custom Post Types - Custom Fields - WordCamp Columbus 2015
WP 201   Custom Post Types - Custom Fields - WordCamp Columbus 2015WP 201   Custom Post Types - Custom Fields - WordCamp Columbus 2015
WP 201 Custom Post Types - Custom Fields - WordCamp Columbus 2015
 

Último

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Último (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 

Theme development essentials columbus oh word camp 2012

  • 2. Topics  What is a Theme?  What can a Theme do?  Theme Frameworks… Theme What?  Making a Theme Responsible  Why create a Custom Theme?  Where to Start  Tips  Q&A
  • 3. Who is Joe?  Graphic Design and Computer Art background  Web Designer/Developer for 15 years  Work for a community college full-time  Own my consultant business  Self taught in Asp.Net, PHP, HTML, CSS, Javascript, jQuery, SQL  Working with WordPress for little over 1 year  Developed 6 custom themes and counting
  • 4. What is a Theme?  A theme is a collection of php scripts, a css file and maybe a few images to create the look and feel for a WordPress site.  A theme can also introduce functionality to a WordPress site.  Custom Post Types  Theme Options  Sidebars  Navigation Menus  And much, much more…
  • 5. Basic Theme Files  Style.css – Contains base theme information and styles for site.  Header.php – Starts the web page, and contains the header information  Index.php – Contains the call to the header, footer, and loop. Could include other custom html if needed for the homepage.  Loop.php – Contains the php code used to display the posts. Also the last resort file for anything that is displayed from WordPress  Footer.php – Finishes the body, includes the footer of the webpage, and should finish the page, ie. “</html>”
  • 6. Basic Theme Files  Sidebar.php – Used to contain the widget areas for the site. Non-Essential  page.php, category.php, tag.php, author.php, single.php, archive.php, taxonomy.php, date.php, single-{post-type}.php, home.php, front-page.php, 404.php
  • 7. Style.css /* Theme Name: Twenty Ten Theme URI: http://wordpress.org/ Description: The 2010 default theme for WordPress. Author: wordpressdotorg Author URI: http://wordpress.org/ Version: 1.0 Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation- ready, microformats, rtl-language-support, editor-style, custom- menu (optional) License: License URI: General comments (optional). */
  • 8. Basic - Style.css /* Theme Name: Description: Author: Tags: Version: 1.0 */
  • 9. Theme Frameworks… Theme What?  Frameworks allow rapid development of a theme  Commonly used functionality is built already  Allows developer to update underlying functionality without messing with design.  Design is generally handled in a Child Theme
  • 10. Available Frameworks  Thematic – Free  themeshaper.com/thematic  Thesis – Costs  diythemes.com/thesis  Genesis – Costs  studiopress.com/themes/genesis  Gantry – Free  gantry-framework.org  Pagelines – Costs  pagelines.com
  • 11. Available Frameworks  Hybrid – Free  themehybrid.com  HEADWAY – Costs  headwaythemes.com  Whiteboard – Free  whiteboardframework.com
  • 12. Making a Theme Responsible  Child Themes allow a designer to change the look of a theme without interfering with underlying functionality  Parent Theme can be updated when core changes.  Child Themes can contain just design code, without the need to mess with the functionality code.
  • 13. Child Theme – Style.css /* Theme Name: Twenty Eleven Child Theme URI: http://example.com/ Description: Child theme for the Twenty Eleven theme Author: Your name here Author URI: http://example.com/about/ Template: twentyeleven Version: 0.1.0 */ codex.wordpress.org/Child_Themes
  • 14. Why Create a Custom Theme?  Functionality is required, that cannot be accomplished through plugins  Unable to find a theme that can either be modified or have a child theme created for it.  Because you want to!
  • 15. Where to Start?  WordPress Codex  codex.wordpress.org/Theme_Development  Look at a sample theme (Twenty Ten or Twenty Eleven)  Both are child theme friendly, can someone say “Framework”  Download a theme from the wordpress.org Respository  What not to do  Download a theme from a “free wordpress theme” web search.
  • 16. Where to Start?  Are you going to create a framework, use a framework to start?  Will the theme be a child theme based on someone else‟s theme?  How will the site function?  Will it be mostly posts, or pages, or a mix?  Create a design for your theme.  Decide how to divide your theme, so you can create the necessary files.
  • 17. Tips  Codex – codex.wordpress.org/Theme_Development  Use define(„WPDEBUG‟, true) in your wp-config file to see any deprecated function calls or other WordPress related errors.  codex.wordpress.org/Theme_Development#Theme_Testing_Pro cess  Break your Theme!  http://codex.wordpress.org/Theme_Unit_Test  Theme Checker plugin  bit.ly/Theme-Checker  Do not hack core!!
  • 18. Tips  If you‟re creating a custom theme, add your Google Analytics tracking code directly to your header code, don‟t use a plugin.  Evaluate your plugins that you currently use, and see which ones you can make obsolete by doing the same thing with code in your theme.  Grab a good book  Smashing Magazine  OReilly  Do not hack core!!
  • 19. Tips  If you are missing the admin bar, make sure you have <?php wp_footer(); ?> in your footer.php file.  Run a web server on your workstation/laptop for theme development  Install a multi-site install  Install a regular install  Install a theme breaking site  Keep your development workstation up-to-date!  Do not hack core!!
  • 20. Helpful Links  Theme Unit Test (used for breaking your theme)  codex.wordpress.org/Theme_Unit_Test  Theme Check Plugin  bit.ly/Theme-Check  Theme Heirarchy  codex.wordpress.org/Template_Hierarchy  WordPress Codex  codex.wordpress.org/Theme_Development
  • 21. Q&A
  • 22.  Twitter: @joequerin  Email: joe@unlimitedimaginationstudio.com  Website: www.unlimitedimaginationstudio.com