WordPress Theme Reviewers Team

37
WordPress.org Themes Directory Behind the Scenes Mario Peshev @no_fear_inc WordPress Engineer DevWP.eu

description

My slides for the WordPress Theme Reviewers Team, presented at WordSesh 1

Transcript of WordPress Theme Reviewers Team

Page 1: WordPress Theme Reviewers Team

WordPress.org Themes Directory – Behind the Scenes

Mario Peshev @no_fear_inc

WordPress Engineer DevWP.eu

Page 2: WordPress Theme Reviewers Team

Contents

• About WPORG themes directory

• About WPTRT

• The Process

• How does it Work

Page 3: WordPress Theme Reviewers Team

What is the Themes Directory? • The directory hosting all themes on WPORG

• http://wordpress.org/extend/themes/

• All free, all GPL

Page 4: WordPress Theme Reviewers Team

Some Numbers

• 1700+ themes

• 67,700,000+ downloads

• Most popular themes:

• http://wordpress.org/extend/themes/responsive/ – 550,000+ downloads

• http://wordpress.org/extend/themes/twentyten/ – 1,252,000+ downloads

• http://wordpress.org/extend/themes/twentyeleven/ – 1,179,000+ downloads

• * April, 2013

Page 5: WordPress Theme Reviewers Team

WordPress Theme Review Team (WPTRT)

Who are they?

• Team of WordPress community members

– all volunteers

• Mostly self-directing, under the WPORG

umbrella

• Varying degrees of WordPress

experience/expertise

Page 6: WordPress Theme Reviewers Team

WordPress Theme Review Team (WPTRT) (2)

What is their purpose?

• Review and approve Theme tickets as quickly and as completely as possible

• Provide an educational resource for the WordPress Theme Developer community

• Encourage and establish community standards for Theme quality and best practices

Anyone can get involved!

Page 7: WordPress Theme Reviewers Team

Can I get in with my theme?

Sure, you can!

However, you need to be aware of the Guidelines

http://codex.wordpress.org/Theme_Review

Page 8: WordPress Theme Reviewers Team

Theme Reviews

• http://themes.trac.wordpress.org/ticket/11250

Page 9: WordPress Theme Reviewers Team

Template Hierarchy

• http://codex.wordpress.org/images/1/18/Template_Hierarchy.png

Page 10: WordPress Theme Reviewers Team

Theme Unit Test

• http://codex.wordpress.org/Theme_Unit_Test/

Page 11: WordPress Theme Reviewers Team

Theme Development

WordPress Themes:

• files that work together to create the

design and functionality of a WordPress

site

• each Theme may be different and offering

many choices for site owners

• http://codex.wordpress.org/Theme_Develo

pment

Page 12: WordPress Theme Reviewers Team

Theme Queues • Trac provides a list with several priority queues

• Reviews are conducted based on a specific

order

Page 13: WordPress Theme Reviewers Team

Purpose of these guidelines?

• Outlining best practices for theme

development

• Less conflicts

• Improved compatibility

Page 14: WordPress Theme Reviewers Team

What’s the best way of building my theme?

Follow the flow from Theme Development

page

• Build a theme with valid markup and

styling

• Enable WP_DEBUG during development

• Test with the Theme Unit Test data

• Support all core features

• Don’t forget the edge cases!

Page 15: WordPress Theme Reviewers Team

Cheats

display errors

error_log ( from my wp-config.php )

Page 17: WordPress Theme Reviewers Team

Theme Check • “A simple and easy way to test your theme

for all the latest WordPress standards and

practices. A great theme development tool!

Page 18: WordPress Theme Reviewers Team

Log Deprecated Notices • “Logs the usage of deprecated files, functions,

and function arguments, and identifies where the deprecated functionality is being used.”

http://wordpress.org/extend/plugins/log-deprecated-notices/

Page 19: WordPress Theme Reviewers Team

Debogger

• “A simple tool for debugging themes.”

http://wordpress.org/extend/plugins/debogger/

Page 20: WordPress Theme Reviewers Team

Theme Mentor • Cousin of the Theme Check

http://wordpress.org/extend/plugins/theme-mentor/

Page 21: WordPress Theme Reviewers Team

Developer • “A plugin, which helps WordPress developers

develop.”

http://wordpress.org/extend/plugins/developer/

Page 23: WordPress Theme Reviewers Team

Can I join the team?

First you need to do:

• Learn the guidelines

• Setup the right enviroment

• Do several test reviews

Page 25: WordPress Theme Reviewers Team

Discussions • Not everything set in stone

Page 26: WordPress Theme Reviewers Team

Chime in Mailing lists

• Subscribe

Make site

• Make Themes site

IRC

• #WordPress-Themes (not actively used)

Page 27: WordPress Theme Reviewers Team

Arguable topics

• Removing Default Widgets

• Replacing Widgets with customized ones

• Theme vs. Plugin territory

• Using shortcodes

• Post-content shortcodes are Plugin

territory

• http://lists.wordpress.org/pipermail/theme-

reviewers/2013-March/012114.html

Page 28: WordPress Theme Reviewers Team

Arguable topics (2)

• front-page.php and home.php behaviour

• PHP version for Themes

• Browser compatability

• Should we support 100% IE?

• Custom Support Forums

Page 29: WordPress Theme Reviewers Team

Make Themes org • Home for official resources to help people

developing WordPress themes

http://make.wordpress.org/themes/

Page 30: WordPress Theme Reviewers Team

Licensing

• “The license under which the WordPress

software is released is the GPLv2 (or later)

from the Free Software Foundation. A

copy of the license is included with every

copy of WordPress, but you can also

read the text of the license here.”

• http://wordpress.org/about/license/

Page 31: WordPress Theme Reviewers Team

3rd party scripts

• Be careful with images licenses

• Beware of additional item licenses

• It’s important 3rd party items to be GPL

compatible

Page 32: WordPress Theme Reviewers Team

On Quality

Quality

“The goal of the theme directory is not

to list every theme in the world, it’s to list the

best ones. We want a reasonable number of

themes we can point to that embody the

best and brightest of WordPress

development, and that users can choose

without compromise.” – Matt Mullenweg

Page 33: WordPress Theme Reviewers Team

Child Themes

• Theme that inherits the functionality of

other theme.

• Recommended to use for making theme

changes

• Easy to use

• Great opportunity for expanding the

business

• http://codex.wordpress.org/Child_Themes

Page 34: WordPress Theme Reviewers Team

Child Themes Structure

• site_root (www) wp-content themes *your-theme *your-theme-child style.css – required functions.php – optional template files – optional other files – optional

Page 35: WordPress Theme Reviewers Team

style.css

Template is your link to the parent theme

Page 36: WordPress Theme Reviewers Team

Shortcodes

• Shortcodes should be carefully added (if at

all) to your themes

• Content changed by shortcodes is useless

when a theme is switched

• Themes should be used for presentation

layer only and not adding functionality

• Custom Post Types and Taxonomies could

be a stopper if embedded in themes

Page 37: WordPress Theme Reviewers Team

Questions?

Tweets as @no_fear_inc

Mario Peshev on LinkedIn

nofearinc on WordPress.org

GitHubering via mpeshev

DevWP.eu - blog