How to get your theme in WordPress

Nisha Singh
Nisha SinghQuality analyst, WordPress theme reviewer member at AmiWorks
Nisha Singh   nisha@amiworks.com   @inisa
How to get your theme in
WordPress.org theme repository
Theme Repository
How theme reviewing team work
•   Theme review mailing list
•   Make WordPress theme Blog
•   Theme Trac
•   IRC (Internet Relay Chat)
Theme Trac

• Current approved theme. priority #1
• Ticket older then two weeks. priority #2
• Previously Reviewed, but not Approved
  theme. priority #3
• New Themes, Never Reviewed. priority #4
Current Approved Themes
Theme Review
• Ticket are assigned by priority
• Reviewers assign tickets to themselves.
• Issues are noted in a comment.
• Ticket are closed as Approved or Not-
  Approved.
• Previously approved tickets mostly diff review
  only.
Before looking at the Code
1.   Theme Name
2.   Author URI and Theme URI
3.   Footer Credit Link
4.   License
5.   Copyright
6.   Screenshot
7.   Correct Spelling of WordPress
Single Tickets
Guidelines
•   Code Quality
•   Presentation vs Functionality
•   Theme Features
•   Template Tags and Hooks
•   WordPress-Generated CSS Classes
•   Theme Template Files
•   Security and Privacy
•   Theme Documentation
•   Unit Test
Guidelines (Code Quality)

Themes must not generate any WordPress
•   deprecated-function notices
•   PHP errors
•   warnings or notices
•   HTML/CSS validation errors
•   JavaScript errors
Guidelines – (Debug Error)
Guidelines (Presentation vs Functionality)

• Language
• Themes is to define the presentation of user
  content.
• Theme-independent site options or
  functionality.
Guidelines (Required Theme Features)

• Automatic Feed Links. add_theme_support(
  'automatic-feed-links' )
• Custom Backgrounds add_theme_support('custom-
  background')
• Custom Header add_theme_support('custom-
  header')
• Post Thumbnails add_theme_support('post-
  thumbnails') / the_post_thumbnail()
• Post Formats
• Sidebars register_sidebar() / dynamic_sidebar()
• Navigation Menus wp_nav_menu()
Guidelines (Required Template Tags and Hooks)
Template Tags
• comments.php (comments_template()
• header.php        (get_header()
• footer.php         (get_footer()
• siebar.php         (get_sidebar()
• searchform.php ( get_search_form()
Hooks
• wp_title()
• wp_head()     (immediately before </head>)
• body_class()
• wp_footer() (immediately before </body>)
• content_width
• post_class()
• wp_link_pages()
• paginate_comments_links(), or previous_comments_link()/next_comments_link()
• posts_nav_link(), or previous_posts_link()/next_posts_link(), or paginate_links()
• comment_form
• delete_post
Tags
Guidelines (WordPress-Generated CSS Classes)
• Alignment Classes
    - aligncenter
    - alignleft
    - alignright
• Caption Related Classes (Gallery)
    - wp-caption
    - wp-caption-text
    - gallery-caption
• Post Classes
     - sticky
• Comment Classes
   - bypostauthor
Core CSS
Guidelines (Theme Template Files)
Required Files -
•   index.php
•   Comments.php
•   screenshot.png
•   Style.css
Recommended Files –
•   404.php
•   archive.php
•   page.php
•   search.php
•   single.php
•   header.php
•   footer.php
•   sidebar.php
Guidelines (Security and Privacy)
• Prefix.
• Required to implement Theme Options.
• Use the add_theme_page() function to add the Theme
  Settings Page rather than using add_menu_page() to
  add a top-level menu.
• Use single array to save theme option.
• Themes are required to use esc_attr() for text inputs
  and esc_html() for textareas.
• Use validate and sanitize all untrusted data.
Guidelines (Theme Documentation)

• Provide end-user documentation
Guidelines (Theme Unit Test)
• Themes are required to meet all requirements in the
     Theme Unit Tests.
-     Menu
 -   Static Front Page
 -   404 Page & Search Results Page
 -   Index Page
 -   Scheduled Post
 -   Draft Post
 -   Layout Test
 -   Readability Test
-    Clearing Floats
-    Post Format Test
 -   Widget
Guidelines( Tools & Plugins)

Tools
• Data: Theme Unit Test
Plugins
•   Theme Check Plugin
•   WP DEBUG
•   Log Deprecated Notice
•   Debug bar
•   Moster Widget
Theme Check Result
HOW TO BECOME A REVIEWER

• Setup a WordPress test environment
• Setup Theme - Trac access (Create account)
• Join Theme Reviewers Mail List.
• Go to the Trac Ticket Request Page and Leave a
  Comment asking to be assigned a Theme
• Perform same test review.
• Once you have done enough Theme
  reviews, you will be added to the “Reviewers”
  group.
Important Links
• Theme review mailing list ->
  http://lists.wordpress.org/mailman/listinfo/th
  eme-reviewers
• Make WordPress theme Blog ->
  http://make.wordpress.org/themes/blog/
• Theme Trac -> http://themes.trac.wordpress.org/
• IRC (Internet Relay Chat) ->
  http://codex.wordpress.org/IRC
• Code Quality ->
  http://codex.wordpress.org/Theme_Review#Code_Quality
• Presentation vs Functionality ->
  http://codex.wordpress.org/Theme_Review#Presentation_vs_Functi
  onality
• Theme Features -> http://codex.wordpress.org/Theme_Features
• Template Tags and Hooks ->
  http://codex.wordpress.org/Theme_Review#Template_Tags_and_H
  ooks
• Theme Template Files ->
  http://codex.wordpress.org/Theme_Review#Theme_Template_Files
• Security and Privacy ->
  http://codex.wordpress.org/Theme_Review#Security_and_Privacy
• Theme Documentation ->
  http://codex.wordpress.org/Theme_Review#Theme_Documentatio
  n
• Unit Test -> http://codex.wordpress.org/Theme_Unit_Test
• Join the Theme Mailing List ->
  http://lists.wordpress.org/mailman/listinfo/theme-
  reviewers
• Trac ticket request ->
  http://make.wordpress.org/themes/about/trac-
  ticket-request-queue/
Thanks,

Questions
1 of 29

Recommended

The Theme Review Process by
The Theme Review ProcessThe Theme Review Process
The Theme Review ProcessKonstantin Obenland
719 views23 slides
American University WordPress Theming Lecture by
American University WordPress Theming LectureAmerican University WordPress Theming Lecture
American University WordPress Theming LectureAaron Brazell
3.1K views17 slides
WordPress Template hierarchy by
WordPress Template hierarchyWordPress Template hierarchy
WordPress Template hierarchyJason Yingling
669 views20 slides
WordPress Template Hierarchy by
WordPress Template HierarchyWordPress Template Hierarchy
WordPress Template HierarchySarah Whinnem
2K views18 slides
Design todevelop by
Design todevelopDesign todevelop
Design todevelopJason Yingling
365 views28 slides
WCBos13 intermediate workshop by
WCBos13 intermediate workshopWCBos13 intermediate workshop
WCBos13 intermediate workshopBoston WordPress
1.5K views27 slides

More Related Content

What's hot

WordPress Themes and Plugins by
WordPress Themes and PluginsWordPress Themes and Plugins
WordPress Themes and Pluginssuperann
853 views13 slides
WordPress Themes 101 - PSUWeb13 Workshop by
WordPress Themes 101 - PSUWeb13 WorkshopWordPress Themes 101 - PSUWeb13 Workshop
WordPress Themes 101 - PSUWeb13 WorkshopCurtiss Grymala
5.1K views26 slides
WP101 - Themes and Plugins by
WP101 - Themes and PluginsWP101 - Themes and Plugins
WP101 - Themes and PluginsJoe Querin
1.2K views12 slides
WP 101 - Custom Fields & Post Types by
WP 101 - Custom Fields & Post TypesWP 101 - Custom Fields & Post Types
WP 101 - Custom Fields & Post TypesJoe Querin
250 views21 slides
Making your user happy – how to create a perfect profile by
Making your user happy – how to create a perfect profileMaking your user happy – how to create a perfect profile
Making your user happy – how to create a perfect profileLetsConnect
737 views36 slides
WP 101 - WordPress Basics by
WP 101 - WordPress BasicsWP 101 - WordPress Basics
WP 101 - WordPress BasicsJoe Querin
1.3K views14 slides

What's hot(20)

WordPress Themes and Plugins by superann
WordPress Themes and PluginsWordPress Themes and Plugins
WordPress Themes and Plugins
superann853 views
WordPress Themes 101 - PSUWeb13 Workshop by Curtiss Grymala
WordPress Themes 101 - PSUWeb13 WorkshopWordPress Themes 101 - PSUWeb13 Workshop
WordPress Themes 101 - PSUWeb13 Workshop
Curtiss Grymala5.1K views
WP101 - Themes and Plugins by Joe Querin
WP101 - Themes and PluginsWP101 - Themes and Plugins
WP101 - Themes and Plugins
Joe Querin1.2K views
WP 101 - Custom Fields & Post Types by Joe Querin
WP 101 - Custom Fields & Post TypesWP 101 - Custom Fields & Post Types
WP 101 - Custom Fields & Post Types
Joe Querin250 views
Making your user happy – how to create a perfect profile by LetsConnect
Making your user happy – how to create a perfect profileMaking your user happy – how to create a perfect profile
Making your user happy – how to create a perfect profile
LetsConnect737 views
WP 101 - WordPress Basics by Joe Querin
WP 101 - WordPress BasicsWP 101 - WordPress Basics
WP 101 - WordPress Basics
Joe Querin1.3K views
Writing a WordPress Theme - HighEdWeb 2013 #WRK2 by Curtiss Grymala
Writing a WordPress Theme - HighEdWeb 2013 #WRK2Writing a WordPress Theme - HighEdWeb 2013 #WRK2
Writing a WordPress Theme - HighEdWeb 2013 #WRK2
Curtiss Grymala7.8K views
Selecting a WordPress theme by Warren Denley
Selecting a WordPress themeSelecting a WordPress theme
Selecting a WordPress theme
Warren Denley418 views
Blackboard DevCon 2011 - Performance Considerations for Custom Theme Development by Noriaki Tatsumi
Blackboard DevCon 2011 - Performance Considerations for Custom Theme DevelopmentBlackboard DevCon 2011 - Performance Considerations for Custom Theme Development
Blackboard DevCon 2011 - Performance Considerations for Custom Theme Development
Noriaki Tatsumi842 views
itPage LDC 09 Presentation by Eric Landmann
itPage LDC 09 PresentationitPage LDC 09 Presentation
itPage LDC 09 Presentation
Eric Landmann628 views
WordPress as a CMS - Case Study of an Organizational Intranet by Tech Liminal
WordPress as a CMS - Case Study of an Organizational IntranetWordPress as a CMS - Case Study of an Organizational Intranet
WordPress as a CMS - Case Study of an Organizational Intranet
Tech Liminal3.1K views
Hitchhiker's guide to the Universal Theme by Christian Rokitta
Hitchhiker's guide to the Universal ThemeHitchhiker's guide to the Universal Theme
Hitchhiker's guide to the Universal Theme
Christian Rokitta892 views
Run around Chrome Inspector by Tiang Cheng
Run around Chrome Inspector Run around Chrome Inspector
Run around Chrome Inspector
Tiang Cheng508 views
WP 101 - Local Development - Themes and Plugins by Joe Querin
WP 101 - Local Development - Themes and PluginsWP 101 - Local Development - Themes and Plugins
WP 101 - Local Development - Themes and Plugins
Joe Querin1.2K views
Custom Post Types in the wild (WordCamp Sofia 2012) by Mario Peshev
Custom Post Types in the wild (WordCamp Sofia 2012)Custom Post Types in the wild (WordCamp Sofia 2012)
Custom Post Types in the wild (WordCamp Sofia 2012)
Mario Peshev2.8K views
WordPress Customization and Security by Joe Casabona
WordPress Customization and SecurityWordPress Customization and Security
WordPress Customization and Security
Joe Casabona1.7K views

Similar to How to get your theme in WordPress

Starting WordPress Theme Review by
Starting WordPress Theme ReviewStarting WordPress Theme Review
Starting WordPress Theme ReviewCatch Themes
7.2K views38 slides
Theme Development: From an idea to getting approved to wordpress.org by
Theme Development: From an idea to getting approved to wordpress.orgTheme Development: From an idea to getting approved to wordpress.org
Theme Development: From an idea to getting approved to wordpress.orgThemeHorse
1.8K views57 slides
Wordpress theme development by
Wordpress theme developmentWordpress theme development
Wordpress theme developmentNaeem Junejo
3.5K views22 slides
Intro to WordPress theme development by
Intro to WordPress theme developmentIntro to WordPress theme development
Intro to WordPress theme developmentThad Allender
30.1K views67 slides
The WordPress University 2012 by
The WordPress University 2012The WordPress University 2012
The WordPress University 2012Stephanie Leary
5K views121 slides
Websites With Wordpress by
Websites With WordpressWebsites With Wordpress
Websites With WordpressCharly Leetham
629 views22 slides

Similar to How to get your theme in WordPress(20)

Starting WordPress Theme Review by Catch Themes
Starting WordPress Theme ReviewStarting WordPress Theme Review
Starting WordPress Theme Review
Catch Themes7.2K views
Theme Development: From an idea to getting approved to wordpress.org by ThemeHorse
Theme Development: From an idea to getting approved to wordpress.orgTheme Development: From an idea to getting approved to wordpress.org
Theme Development: From an idea to getting approved to wordpress.org
ThemeHorse1.8K views
Wordpress theme development by Naeem Junejo
Wordpress theme developmentWordpress theme development
Wordpress theme development
Naeem Junejo3.5K views
Intro to WordPress theme development by Thad Allender
Intro to WordPress theme developmentIntro to WordPress theme development
Intro to WordPress theme development
Thad Allender30.1K views
WordPress Theme Reviewers Team by Mario Peshev
WordPress Theme Reviewers TeamWordPress Theme Reviewers Team
WordPress Theme Reviewers Team
Mario Peshev1.3K views
WordPress - Open Source Overview Presentation by Andy Stratton
WordPress - Open Source Overview PresentationWordPress - Open Source Overview Presentation
WordPress - Open Source Overview Presentation
Andy Stratton1.7K views
WordPress Themes Demystified by Chris Burgess
WordPress Themes DemystifiedWordPress Themes Demystified
WordPress Themes Demystified
Chris Burgess2.9K views
IBM Digital Experience Theme Customization by Van Staub, MBA
IBM Digital Experience Theme CustomizationIBM Digital Experience Theme Customization
IBM Digital Experience Theme Customization
Van Staub, MBA2.8K views
Responsive themeworkshop wcneo2016 by David Brattoli
Responsive themeworkshop wcneo2016Responsive themeworkshop wcneo2016
Responsive themeworkshop wcneo2016
David Brattoli555 views
Advanced guide to develop ajax applications using dojo by Fu Cheng
Advanced guide to develop ajax applications using dojoAdvanced guide to develop ajax applications using dojo
Advanced guide to develop ajax applications using dojo
Fu Cheng3.2K views
Carrington Core (2014) by alexkingorg
Carrington Core (2014)Carrington Core (2014)
Carrington Core (2014)
alexkingorg6.2K views
Rapid WordPress theme development by Jonny Allbut
Rapid WordPress theme developmentRapid WordPress theme development
Rapid WordPress theme development
Jonny Allbut1.6K views
What's New in WordPress 3.0 (for developers) by Stephanie Leary
What's New in WordPress 3.0 (for developers)What's New in WordPress 3.0 (for developers)
What's New in WordPress 3.0 (for developers)
Stephanie Leary1K views
Word press bootcamp By Sourcescript Innovations and Mentors Dojo by lightshire
Word press bootcamp  By Sourcescript Innovations and Mentors DojoWord press bootcamp  By Sourcescript Innovations and Mentors Dojo
Word press bootcamp By Sourcescript Innovations and Mentors Dojo
lightshire493 views

How to get your theme in WordPress

  • 1. Nisha Singh nisha@amiworks.com @inisa
  • 2. How to get your theme in WordPress.org theme repository
  • 4. How theme reviewing team work • Theme review mailing list • Make WordPress theme Blog • Theme Trac • IRC (Internet Relay Chat)
  • 5. Theme Trac • Current approved theme. priority #1 • Ticket older then two weeks. priority #2 • Previously Reviewed, but not Approved theme. priority #3 • New Themes, Never Reviewed. priority #4
  • 7. Theme Review • Ticket are assigned by priority • Reviewers assign tickets to themselves. • Issues are noted in a comment. • Ticket are closed as Approved or Not- Approved. • Previously approved tickets mostly diff review only.
  • 8. Before looking at the Code 1. Theme Name 2. Author URI and Theme URI 3. Footer Credit Link 4. License 5. Copyright 6. Screenshot 7. Correct Spelling of WordPress
  • 10. Guidelines • Code Quality • Presentation vs Functionality • Theme Features • Template Tags and Hooks • WordPress-Generated CSS Classes • Theme Template Files • Security and Privacy • Theme Documentation • Unit Test
  • 11. Guidelines (Code Quality) Themes must not generate any WordPress • deprecated-function notices • PHP errors • warnings or notices • HTML/CSS validation errors • JavaScript errors
  • 13. Guidelines (Presentation vs Functionality) • Language • Themes is to define the presentation of user content. • Theme-independent site options or functionality.
  • 14. Guidelines (Required Theme Features) • Automatic Feed Links. add_theme_support( 'automatic-feed-links' ) • Custom Backgrounds add_theme_support('custom- background') • Custom Header add_theme_support('custom- header') • Post Thumbnails add_theme_support('post- thumbnails') / the_post_thumbnail() • Post Formats • Sidebars register_sidebar() / dynamic_sidebar() • Navigation Menus wp_nav_menu()
  • 15. Guidelines (Required Template Tags and Hooks) Template Tags • comments.php (comments_template() • header.php (get_header() • footer.php (get_footer() • siebar.php (get_sidebar() • searchform.php ( get_search_form() Hooks • wp_title() • wp_head() (immediately before </head>) • body_class() • wp_footer() (immediately before </body>) • content_width • post_class() • wp_link_pages() • paginate_comments_links(), or previous_comments_link()/next_comments_link() • posts_nav_link(), or previous_posts_link()/next_posts_link(), or paginate_links() • comment_form • delete_post
  • 16. Tags
  • 17. Guidelines (WordPress-Generated CSS Classes) • Alignment Classes - aligncenter - alignleft - alignright • Caption Related Classes (Gallery) - wp-caption - wp-caption-text - gallery-caption • Post Classes - sticky • Comment Classes - bypostauthor
  • 19. Guidelines (Theme Template Files) Required Files - • index.php • Comments.php • screenshot.png • Style.css Recommended Files – • 404.php • archive.php • page.php • search.php • single.php • header.php • footer.php • sidebar.php
  • 20. Guidelines (Security and Privacy) • Prefix. • Required to implement Theme Options. • Use the add_theme_page() function to add the Theme Settings Page rather than using add_menu_page() to add a top-level menu. • Use single array to save theme option. • Themes are required to use esc_attr() for text inputs and esc_html() for textareas. • Use validate and sanitize all untrusted data.
  • 21. Guidelines (Theme Documentation) • Provide end-user documentation
  • 22. Guidelines (Theme Unit Test) • Themes are required to meet all requirements in the Theme Unit Tests. - Menu - Static Front Page - 404 Page & Search Results Page - Index Page - Scheduled Post - Draft Post - Layout Test - Readability Test - Clearing Floats - Post Format Test - Widget
  • 23. Guidelines( Tools & Plugins) Tools • Data: Theme Unit Test Plugins • Theme Check Plugin • WP DEBUG • Log Deprecated Notice • Debug bar • Moster Widget
  • 25. HOW TO BECOME A REVIEWER • Setup a WordPress test environment • Setup Theme - Trac access (Create account) • Join Theme Reviewers Mail List. • Go to the Trac Ticket Request Page and Leave a Comment asking to be assigned a Theme • Perform same test review. • Once you have done enough Theme reviews, you will be added to the “Reviewers” group.
  • 26. Important Links • Theme review mailing list -> http://lists.wordpress.org/mailman/listinfo/th eme-reviewers • Make WordPress theme Blog -> http://make.wordpress.org/themes/blog/ • Theme Trac -> http://themes.trac.wordpress.org/ • IRC (Internet Relay Chat) -> http://codex.wordpress.org/IRC
  • 27. • Code Quality -> http://codex.wordpress.org/Theme_Review#Code_Quality • Presentation vs Functionality -> http://codex.wordpress.org/Theme_Review#Presentation_vs_Functi onality • Theme Features -> http://codex.wordpress.org/Theme_Features • Template Tags and Hooks -> http://codex.wordpress.org/Theme_Review#Template_Tags_and_H ooks • Theme Template Files -> http://codex.wordpress.org/Theme_Review#Theme_Template_Files • Security and Privacy -> http://codex.wordpress.org/Theme_Review#Security_and_Privacy • Theme Documentation -> http://codex.wordpress.org/Theme_Review#Theme_Documentatio n • Unit Test -> http://codex.wordpress.org/Theme_Unit_Test
  • 28. • Join the Theme Mailing List -> http://lists.wordpress.org/mailman/listinfo/theme- reviewers • Trac ticket request -> http://make.wordpress.org/themes/about/trac- ticket-request-queue/