SlideShare une entreprise Scribd logo
1  sur  40
Télécharger pour lire hors ligne
Submitting to the
 WordPress Theme Directory




                     Anthony Hortin
#wpmelb            @maddisondesigns
What is the Theme Directory?
The Theme Directory is a great place to find free
awesome themes.
Each theme has been thoroughly tested by the
WordPress Theme Review Team so as to ensure a
high level of standard.
http://wordpress.org/extend/themes
Theme Review Guidelines
The Theme Review Guidelines are maintained by
the Theme Review Team.
It outline standards and practices for WordPress
Theme development and design.
Theme Review Guidelines
Code Quality
Themes must not generate any WordPress
deprecated-function notices, PHP errors, warnings,
or notices, HTML/CSS validation errors, or
JavaScript errors.
Theme Review Guidelines
Code Quality
✓ Themes must not use deprecated functions
✓ Themes must not support backward compatibility
  for more than two prior major WordPress versions
✓ Themes must not have any notices, warnings, or
  errors when using WP_DEBUG in wp-config.php
✓ Themes must not generate any JavaScript errors
✓ Themes are required to use a ‘theme-slug’ as the
  textdomain for translation purposes
Theme Review Guidelines
Presentation vs Functionality
Themes must not be used to define the generation
of user content, or to define Theme-independent
site options or functionality.
Theme Review Guidelines
Presentation vs Functionality
✓ Themes are required to have all public-facing text
  in English
✓ Theme may optionally incorporate translation/
  internationalization
✓ Themes are recommended not to implement
  custom favicon functionality
Theme Review Guidelines
Theme Features
Themes are required to support proper WordPress
core implementation of all included features.
Theme Review Guidelines
Theme Features
✓ Theme is required to incorporate the following
  WordPress core Theme Features:
  - Automatic Feed Links - Sidebars - Comments
✓ Theme is recommended (but not required) to
  incorporate the following core features:
  - Navigation Menus - Post Thumbnails
  - Custom Headers - Custom Backgrounds
  - Visual Editor CSS
✓ Theme must not incorporate Admin/feature
  pointers
Theme Review Guidelines
Template Tags and Hooks
Themes are required to implement WordPress
template tags and hooks properly.
Theme Review Guidelines
Template Tags and Hooks
✓ Certain template tags and hooks are required to
  be included, such as:
  - wp_title() - wp_head() - wp_footer()
✓ Standard template files are required to be called
  correctly, such as:
  - get_header() - get_footer() - get_template_part()
✓ Themes are required to correctly enqueue all
  stylesheets and scripts:
  - wp_enqueue_style() - wp_enqueue_script()
Theme Review Guidelines
WordPress-Generated CSS Classes
Themes are required to support WordPress-
generated CSS classes.
Theme Review Guidelines
WordPress-Generated CSS Classes
✓ Themes are required to support certain css
  classes, such as:
  - .aligncenter - .alignleft - .alignright
  - .wp-caption - .wp-caption-text - .gallery-caption
  - .sticky - .bypostauthor
Theme Review Guidelines
Theme Template Files
Themes are required to utilise Theme template
files properly.
Theme Review Guidelines
Theme Template Files
✓ Theme is required to include, at a minimum:
  - index.php - comments.php - style.css
✓ Theme is recommended to include:
  - 404.php - archive.php - page.php - search.php
  - single.php - header.php - footer.php - sidebar.php
✓ Theme thumbnail (screenshot.png) is
  recommended to be 600 x 450px
Theme Review Guidelines
Security and Privacy
Themes are required to implement Theme settings
properly, to ensure proper data security, and to
ensure end user privacy.
Theme Review Guidelines
Security and Privacy
✓ Themes are required to prefix all options,
  custom functions, custom variables, and
  custom constants with theme-slug (or
  appropriate variant).
✓ Themes are required to validate and sanitize all
  untrusted data
✓ Themes must not "phone home" without
  informed user consent
Theme Review Guidelines
Licensing
Themes are required to be licensed fully under a
GPL-compatible license.
Theme Review Guidelines
Licensing
✓ Themes are required to be 100% GPL-licensed,
  or use a GPL-compatible license. This includes
  all PHP, HTML, CSS, images, fonts, icons, and
  everything else. All of the theme must be GPL-
  compatible.
✓ Themes are required to declare their license
  explicitly
✓ Themes must not clone the design of a past or
  present web site.
Theme Review Guidelines
Theme Name
Themes are required to use appropriate Theme
Names.
Theme Review Guidelines
Theme Name
✓ Themes are not to use WordPress in their name
✓ Themes are not to use the term Theme in their
  name
✓ Themes may use the WP acronym in the Theme
  name
✓ Themes are not to use version-specific,
  markup-related terms (e.g. HTML5, CSS3, etc.) in
  their name.
Theme Review Guidelines
Credit Links
Themes are recommended to use credit links. If
used, credit links are required to be appropriate.
Theme Review Guidelines
Credit Links
✓ Themes may optionally designate Author URI
  and Theme URI in style.css and are
  recommended to provide at least one of these
  two links
✓ Themes may optionally include a public-facing
  credit link in the Theme footer
✓ Since Themes are GPL (or compatible), Theme
  authors are prohibited from requiring that these
  links be kept by Theme users
Theme Review Guidelines
Theme Documentation
Themes are required to provide sufficient
documentation to explain the use of any custom
features or options.
Theme Review Guidelines
Theme Documentation
✓ Themes are required to provide end-user
  documentation of any design limitations or
  extraordinary installation/setup instructions
✓ Themes are recommended to include a
  readme.txt file
✓ In lieu of a readme.txt file, Themes are
  recommended to include a changelog,
  indicating version-to-version Theme changes.
Theme Review Guidelines
Theme Unit Test
Themes are required to meet all requirements in
the Theme Unit Tests.
Theme Review Guidelines
Theme Unit Test
✓ The Theme must meet all the requirements of
  the Theme Unit Test
  http://codex.wordpress.org/Theme_Unit_Test
Theme Review Guidelines
Theme Obsolescence
Themes are required to be kept current once
accepted into the Theme Repository.
Theme Review Guidelines
Theme Obsolescence
✓ Themes must be kept current once submitted,
  approved, and accepted into the Theme
  Repository.
✓ Any Theme not updated to the current theme
  review process as of the most recent release of
  WordPress may be subject to temporary
  suspension.
Theme Development
Whether you’re developing for the Theme Directory,
a client or just yourself...
It pays to have good code.


WordPress provides you with a set of standards to
follow.
Theme Development
Theme Development Standards
✓ Use well-structured, error-free PHP & valid HTML
  WordPress Coding Standards:
  http://codex.wordpress.org/WordPress_Coding_Standards

✓ Use clean, valid CSS
  CSS Coding Standard:
  http://make.wordpress.org/core/handbook/coding-standards/css

✓ Follow design guidelines
  Site Design and Layout:
  http://codex.wordpress.org/Site_Design_and_Layout
Theme Development
Theme Stylesheet
Add information about your theme into your
style.css file, in the form of comments.
/*
Theme Name: Twenty Thirteen
Theme URI: http://wordpress.org/extend/themes/twentythirteen
Author: the WordPress team
Author URI: http://wordpress.org/
Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post
formats, each displayed beautifully in their own unique way. Design details abound, starting with a
gorgeous color scheme and matching header images, optional display fonts for beautiful typography,
and a wide layout that looks great on large screens yet remains device-agnostic and is readable on
any device.
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, light, one-column, two-columns, right-sidebar, flexible-
width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-
language-support, sticky-post, translation-ready
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
Theme Development
Theme Stylesheet
When specifying your tags in style.css, make sure
to only use the allowed tags.
http://wordpress.org/extend/themes/tag-filter
Theme Development
Code Formatting
Pretty code makes for happy developers!
Using Sublime Text 2, automatically format your
PHP to conform to the WordPress Coding Standards
https://github.com/welovewordpress/SublimePhpTidy


Bonus Tip:
Easily search the WordPress Codex or lookup WordPress functions
https://github.com/welovewordpress/SublimeWordPressCodex
Theme Development
100% GPL
Themes must be 100% GPL (or GPL-Compatible)
This means ALL images, HTML, CSS, PHP, fonts,
icons, JavaScript etc.
Creative Commons is not GPL-Compatible
Oh, one last thing...
Spell “WordPress” correctly!!!
✓ All one word!
✓ Uppercase W!
✓ Uppercase P!
Links to Remember
WordPress Theme Review Team
http://make.wordpress.org/themes

Theme Review Guidelines
http://codex.wordpress.org/Theme_Review

Theme Unit Test
http://codex.wordpress.org/Theme_Unit_Test

CSS Coding Standards
http://make.wordpress.org/core/handbook/coding-standards/css

WordPress Coding Standards
http://codex.wordpress.org/WordPress_Coding_Standards

Readme.txt format. Similar format to this plugin readme sample
http://wordpress.org/extend/plugins/about/readme.txt

Uploading your theme to the Theme Directory
http://wordpress.org/extend/themes/upload
Links to Remember
GNU GPL v2.0 License
http://www.gnu.org/licenses/gpl-2.0.html

GPL-compatible font licenses
http://codex.wordpress.org/Theme_Review#GPL-Compatible_Font_Licenses

GPL-compatible icon sets
http://codex.wordpress.org/Theme_Review#GPL-Compatible_Icon_Sets

Theme Check Plugin. Make sure to test your theme before submitting
http://wordpress.org/extend/plugins/theme-check

Monster Widget. A quick method of adding all core widgets to a sidebar
http://wordpress.org/extend/plugins/monster-widget
That’s all folks!☺

Thanks! Questions?

You can find me here...
maddisondesigns.com
easywpguide.com
@maddisondesigns

Contenu connexe

Tendances

WordPress.Org Theme Standards - WordCamp Bangkok 2019
WordPress.Org Theme Standards - WordCamp Bangkok 2019WordPress.Org Theme Standards - WordCamp Bangkok 2019
WordPress.Org Theme Standards - WordCamp Bangkok 2019Kafle G
 
Week 7 introduction to theme development
Week 7   introduction to theme developmentWeek 7   introduction to theme development
Week 7 introduction to theme developmenthenri_makembe
 
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
 
Week 5 - Introduction to plug-ins and widgets
Week 5 - Introduction to plug-ins and widgetsWeek 5 - Introduction to plug-ins and widgets
Week 5 - Introduction to plug-ins and widgetshenri_makembe
 
Building the basics (WordPress Ottawa 2014)
Building the basics (WordPress Ottawa 2014)Building the basics (WordPress Ottawa 2014)
Building the basics (WordPress Ottawa 2014)christopherfross
 
Theme Review on WordPress by Ganga Kafle on WordCamp Dhaka 2019
Theme Review on WordPress by Ganga Kafle on WordCamp Dhaka 2019Theme Review on WordPress by Ganga Kafle on WordCamp Dhaka 2019
Theme Review on WordPress by Ganga Kafle on WordCamp Dhaka 2019Kafle G
 
Customizing WordPress Themes
Customizing WordPress ThemesCustomizing WordPress Themes
Customizing WordPress ThemesLaura Hartwig
 
WordPress best practices by billrice
WordPress best practices by billriceWordPress best practices by billrice
WordPress best practices by billriceRiceDesign
 
Child Themes and CSS in WordPress
Child Themes and CSS in WordPressChild Themes and CSS in WordPress
Child Themes and CSS in WordPressMatthew Vaccaro
 
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 StepsSingsys Pte Ltd
 
How to customise Joomla
How to customise JoomlaHow to customise Joomla
How to customise JoomlaTim Plummer
 
Keep Your Code Organized! WordCamp Montreal 2013 Presentation slides
Keep Your Code Organized! WordCamp Montreal 2013 Presentation slidesKeep Your Code Organized! WordCamp Montreal 2013 Presentation slides
Keep Your Code Organized! WordCamp Montreal 2013 Presentation slidesJer Clarke
 
All Roads Lead to WordPress
All Roads Lead to WordPress All Roads Lead to WordPress
All Roads Lead to WordPress CMS2CMS
 
WordPress Essentials for Beginners - YES Montreal November 2015
WordPress Essentials for Beginners - YES Montreal November 2015WordPress Essentials for Beginners - YES Montreal November 2015
WordPress Essentials for Beginners - YES Montreal November 2015Kathryn Presner
 

Tendances (20)

W pthemes
W pthemesW pthemes
W pthemes
 
WordPress.Org Theme Standards - WordCamp Bangkok 2019
WordPress.Org Theme Standards - WordCamp Bangkok 2019WordPress.Org Theme Standards - WordCamp Bangkok 2019
WordPress.Org Theme Standards - WordCamp Bangkok 2019
 
Week 7 introduction to theme development
Week 7   introduction to theme developmentWeek 7   introduction to theme development
Week 7 introduction to theme development
 
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
 
Week 5 - Introduction to plug-ins and widgets
Week 5 - Introduction to plug-ins and widgetsWeek 5 - Introduction to plug-ins and widgets
Week 5 - Introduction to plug-ins and widgets
 
WordPress plugins
WordPress pluginsWordPress plugins
WordPress plugins
 
Building the basics (WordPress Ottawa 2014)
Building the basics (WordPress Ottawa 2014)Building the basics (WordPress Ottawa 2014)
Building the basics (WordPress Ottawa 2014)
 
Theme Review on WordPress by Ganga Kafle on WordCamp Dhaka 2019
Theme Review on WordPress by Ganga Kafle on WordCamp Dhaka 2019Theme Review on WordPress by Ganga Kafle on WordCamp Dhaka 2019
Theme Review on WordPress by Ganga Kafle on WordCamp Dhaka 2019
 
Newspapers with WordPress
Newspapers with WordPressNewspapers with WordPress
Newspapers with WordPress
 
Customizing WordPress Themes
Customizing WordPress ThemesCustomizing WordPress Themes
Customizing WordPress Themes
 
WordPress best practices by billrice
WordPress best practices by billriceWordPress best practices by billrice
WordPress best practices by billrice
 
Word press in 60 minutes
Word press in 60 minutesWord press in 60 minutes
Word press in 60 minutes
 
Child Themes and CSS in WordPress
Child Themes and CSS in WordPressChild Themes and CSS in WordPress
Child Themes and CSS 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
 
How to customise Joomla
How to customise JoomlaHow to customise Joomla
How to customise Joomla
 
Keep Your Code Organized! WordCamp Montreal 2013 Presentation slides
Keep Your Code Organized! WordCamp Montreal 2013 Presentation slidesKeep Your Code Organized! WordCamp Montreal 2013 Presentation slides
Keep Your Code Organized! WordCamp Montreal 2013 Presentation slides
 
All Roads Lead to WordPress
All Roads Lead to WordPress All Roads Lead to WordPress
All Roads Lead to WordPress
 
WordPress Essentials for Beginners - YES Montreal November 2015
WordPress Essentials for Beginners - YES Montreal November 2015WordPress Essentials for Beginners - YES Montreal November 2015
WordPress Essentials for Beginners - YES Montreal November 2015
 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPress
 
Wordpress plugin
Wordpress pluginWordpress plugin
Wordpress plugin
 

Similaire à Submitting to the WordPress Theme Directory

Wordpress theme development
Wordpress theme developmentWordpress theme development
Wordpress theme developmentNaeem Junejo
 
Starting WordPress Theme Review
Starting WordPress Theme ReviewStarting WordPress Theme Review
Starting WordPress Theme ReviewCatch Themes
 
advance theme development
advance theme developmentadvance theme development
advance theme development1amitgupta
 
Theme Development: From an idea to getting approved to wordpress.org
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
 
WordUp Edinburgh 2011 - How the theme review process can benefit custom theme...
WordUp Edinburgh 2011 - How the theme review process can benefit custom theme...WordUp Edinburgh 2011 - How the theme review process can benefit custom theme...
WordUp Edinburgh 2011 - How the theme review process can benefit custom theme...phenomenoodle
 
Theme frameworks & child themes
Theme frameworks & child themesTheme frameworks & child themes
Theme frameworks & child themesChris Olbekson
 
How To Choose A Theme
How To Choose A ThemeHow To Choose A Theme
How To Choose A ThemeNicky Pink
 
WordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute WorkshopWordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute WorkshopBrendan Sera-Shriar
 
Wp responsive-theme-framework
Wp responsive-theme-frameworkWp responsive-theme-framework
Wp responsive-theme-frameworkDamien Oh
 
Philip Arthur Moore: Best Practices — On Breaking and Fixing WordPress Themes
Philip Arthur Moore: Best Practices — On Breaking and Fixing WordPress ThemesPhilip Arthur Moore: Best Practices — On Breaking and Fixing WordPress Themes
Philip Arthur Moore: Best Practices — On Breaking and Fixing WordPress ThemesPhilip Arthur Moore
 
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 25New Tricks
 
Every Artist needs a Great Website: Getting Started with WordPress
Every Artist needs a Great Website: Getting Started with WordPressEvery Artist needs a Great Website: Getting Started with WordPress
Every Artist needs a Great Website: Getting Started with WordPressRuth Maude
 
WordPress A CMS for Beginners, Geeks and Those In-Between
WordPress A CMS for Beginners, Geeks and Those In-BetweenWordPress A CMS for Beginners, Geeks and Those In-Between
WordPress A CMS for Beginners, Geeks and Those In-BetweenHeidi Cool
 
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 InstituteBrendan Sera-Shriar
 
How to get your theme in WordPress
How to get your theme in WordPressHow to get your theme in WordPress
How to get your theme in WordPressNisha Singh
 
Websites With Wordpress
Websites With WordpressWebsites With Wordpress
Websites With WordpressCharly Leetham
 
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 Toronto08Jamie Oastler
 
WordPress Themes and Plugins
WordPress Themes and PluginsWordPress Themes and Plugins
WordPress Themes and Pluginssuperann
 
Wordpress template hierarchy
Wordpress template hierarchyWordpress template hierarchy
Wordpress template hierarchyStockton Group
 

Similaire à Submitting to the WordPress Theme Directory (20)

Wordpress theme development
Wordpress theme developmentWordpress theme development
Wordpress theme development
 
Starting WordPress Theme Review
Starting WordPress Theme ReviewStarting WordPress Theme Review
Starting WordPress Theme Review
 
advance theme development
advance theme developmentadvance theme development
advance theme development
 
Theme Development: From an idea to getting approved to wordpress.org
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
 
WordPress Theming 101
WordPress Theming 101WordPress Theming 101
WordPress Theming 101
 
WordUp Edinburgh 2011 - How the theme review process can benefit custom theme...
WordUp Edinburgh 2011 - How the theme review process can benefit custom theme...WordUp Edinburgh 2011 - How the theme review process can benefit custom theme...
WordUp Edinburgh 2011 - How the theme review process can benefit custom theme...
 
Theme frameworks & child themes
Theme frameworks & child themesTheme frameworks & child themes
Theme frameworks & child themes
 
How To Choose A Theme
How To Choose A ThemeHow To Choose A Theme
How To Choose A Theme
 
WordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute WorkshopWordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute Workshop
 
Wp responsive-theme-framework
Wp responsive-theme-frameworkWp responsive-theme-framework
Wp responsive-theme-framework
 
Philip Arthur Moore: Best Practices — On Breaking and Fixing WordPress Themes
Philip Arthur Moore: Best Practices — On Breaking and Fixing WordPress ThemesPhilip Arthur Moore: Best Practices — On Breaking and Fixing WordPress Themes
Philip Arthur Moore: Best Practices — On Breaking and Fixing WordPress Themes
 
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
 
Every Artist needs a Great Website: Getting Started with WordPress
Every Artist needs a Great Website: Getting Started with WordPressEvery Artist needs a Great Website: Getting Started with WordPress
Every Artist needs a Great Website: Getting Started with WordPress
 
WordPress A CMS for Beginners, Geeks and Those In-Between
WordPress A CMS for Beginners, Geeks and Those In-BetweenWordPress A CMS for Beginners, Geeks and Those In-Between
WordPress A CMS for Beginners, Geeks and Those In-Between
 
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
 
How to get your theme in WordPress
How to get your theme in WordPressHow to get your theme in WordPress
How to get your theme in WordPress
 
Websites With Wordpress
Websites With WordpressWebsites With Wordpress
Websites With Wordpress
 
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
 
WordPress Themes and Plugins
WordPress Themes and PluginsWordPress Themes and Plugins
WordPress Themes and Plugins
 
Wordpress template hierarchy
Wordpress template hierarchyWordpress template hierarchy
Wordpress template hierarchy
 

Plus de Anthony Hortin

Why you should be using WordPress child themes
Why you should be using WordPress child themesWhy you should be using WordPress child themes
Why you should be using WordPress child themesAnthony Hortin
 
Working with WooCommerce Custom Fields
Working with WooCommerce Custom FieldsWorking with WooCommerce Custom Fields
Working with WooCommerce Custom FieldsAnthony Hortin
 
Developing for the WordPress Customizer
Developing for the WordPress CustomizerDeveloping for the WordPress Customizer
Developing for the WordPress CustomizerAnthony Hortin
 
Developing For The WordPress Customizer
Developing For The WordPress CustomizerDeveloping For The WordPress Customizer
Developing For The WordPress CustomizerAnthony Hortin
 
Introduction to Advanced Custom Fields
Introduction to Advanced Custom FieldsIntroduction to Advanced Custom Fields
Introduction to Advanced Custom FieldsAnthony Hortin
 
The Why, When, How of WordPress Child Themes
The Why, When, How of WordPress Child ThemesThe Why, When, How of WordPress Child Themes
The Why, When, How of WordPress Child ThemesAnthony Hortin
 
Essential plugins for your WordPress Website
Essential plugins for your WordPress WebsiteEssential plugins for your WordPress Website
Essential plugins for your WordPress WebsiteAnthony Hortin
 
Building a Membership Site with WooCommerce Memberships
Building a Membership Site with WooCommerce MembershipsBuilding a Membership Site with WooCommerce Memberships
Building a Membership Site with WooCommerce MembershipsAnthony Hortin
 
Building a Membership Site with WooCommerce
Building a Membership Site with WooCommerceBuilding a Membership Site with WooCommerce
Building a Membership Site with WooCommerceAnthony Hortin
 
Getting to Grips with Firebug
Getting to Grips with FirebugGetting to Grips with Firebug
Getting to Grips with FirebugAnthony Hortin
 
Getting to Know WordPress May 2015
Getting to Know WordPress May 2015Getting to Know WordPress May 2015
Getting to Know WordPress May 2015Anthony Hortin
 
25 WordPress Plugins to Complement Your Site
25 WordPress Plugins to Complement Your Site25 WordPress Plugins to Complement Your Site
25 WordPress Plugins to Complement Your SiteAnthony Hortin
 
WordCamp San Francisco & WooCommerce Conference Recap
WordCamp San Francisco & WooCommerce Conference RecapWordCamp San Francisco & WooCommerce Conference Recap
WordCamp San Francisco & WooCommerce Conference RecapAnthony Hortin
 
Creating a multilingual site with WPML
Creating a multilingual site with WPMLCreating a multilingual site with WPML
Creating a multilingual site with WPMLAnthony Hortin
 
WordPress Visual Editor Mastery
WordPress Visual Editor MasteryWordPress Visual Editor Mastery
WordPress Visual Editor MasteryAnthony Hortin
 
Getting to know WordPress
Getting to know WordPressGetting to know WordPress
Getting to know WordPressAnthony Hortin
 
Do's & Don'ts for WordPress Theme Development
Do's & Don'ts for WordPress Theme DevelopmentDo's & Don'ts for WordPress Theme Development
Do's & Don'ts for WordPress Theme DevelopmentAnthony Hortin
 
Getting Started with WooCommerce
Getting Started with WooCommerceGetting Started with WooCommerce
Getting Started with WooCommerceAnthony Hortin
 
WordPress Queries - the right way
WordPress Queries - the right wayWordPress Queries - the right way
WordPress Queries - the right wayAnthony Hortin
 

Plus de Anthony Hortin (20)

Why you should be using WordPress child themes
Why you should be using WordPress child themesWhy you should be using WordPress child themes
Why you should be using WordPress child themes
 
Working with WooCommerce Custom Fields
Working with WooCommerce Custom FieldsWorking with WooCommerce Custom Fields
Working with WooCommerce Custom Fields
 
WordPress Gutenberg
WordPress GutenbergWordPress Gutenberg
WordPress Gutenberg
 
Developing for the WordPress Customizer
Developing for the WordPress CustomizerDeveloping for the WordPress Customizer
Developing for the WordPress Customizer
 
Developing For The WordPress Customizer
Developing For The WordPress CustomizerDeveloping For The WordPress Customizer
Developing For The WordPress Customizer
 
Introduction to Advanced Custom Fields
Introduction to Advanced Custom FieldsIntroduction to Advanced Custom Fields
Introduction to Advanced Custom Fields
 
The Why, When, How of WordPress Child Themes
The Why, When, How of WordPress Child ThemesThe Why, When, How of WordPress Child Themes
The Why, When, How of WordPress Child Themes
 
Essential plugins for your WordPress Website
Essential plugins for your WordPress WebsiteEssential plugins for your WordPress Website
Essential plugins for your WordPress Website
 
Building a Membership Site with WooCommerce Memberships
Building a Membership Site with WooCommerce MembershipsBuilding a Membership Site with WooCommerce Memberships
Building a Membership Site with WooCommerce Memberships
 
Building a Membership Site with WooCommerce
Building a Membership Site with WooCommerceBuilding a Membership Site with WooCommerce
Building a Membership Site with WooCommerce
 
Getting to Grips with Firebug
Getting to Grips with FirebugGetting to Grips with Firebug
Getting to Grips with Firebug
 
Getting to Know WordPress May 2015
Getting to Know WordPress May 2015Getting to Know WordPress May 2015
Getting to Know WordPress May 2015
 
25 WordPress Plugins to Complement Your Site
25 WordPress Plugins to Complement Your Site25 WordPress Plugins to Complement Your Site
25 WordPress Plugins to Complement Your Site
 
WordCamp San Francisco & WooCommerce Conference Recap
WordCamp San Francisco & WooCommerce Conference RecapWordCamp San Francisco & WooCommerce Conference Recap
WordCamp San Francisco & WooCommerce Conference Recap
 
Creating a multilingual site with WPML
Creating a multilingual site with WPMLCreating a multilingual site with WPML
Creating a multilingual site with WPML
 
WordPress Visual Editor Mastery
WordPress Visual Editor MasteryWordPress Visual Editor Mastery
WordPress Visual Editor Mastery
 
Getting to know WordPress
Getting to know WordPressGetting to know WordPress
Getting to know WordPress
 
Do's & Don'ts for WordPress Theme Development
Do's & Don'ts for WordPress Theme DevelopmentDo's & Don'ts for WordPress Theme Development
Do's & Don'ts for WordPress Theme Development
 
Getting Started with WooCommerce
Getting Started with WooCommerceGetting Started with WooCommerce
Getting Started with WooCommerce
 
WordPress Queries - the right way
WordPress Queries - the right wayWordPress Queries - the right way
WordPress Queries - the right way
 

Dernier

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
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 2024Results
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
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 productivityPrincipled Technologies
 
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 Nanonetsnaman860154
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
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...Drew Madelung
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
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 WorkerThousandEyes
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
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 Servicegiselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 

Dernier (20)

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
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
 
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
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
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...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Submitting to the WordPress Theme Directory

  • 1. Submitting to the WordPress Theme Directory Anthony Hortin #wpmelb @maddisondesigns
  • 2. What is the Theme Directory? The Theme Directory is a great place to find free awesome themes. Each theme has been thoroughly tested by the WordPress Theme Review Team so as to ensure a high level of standard. http://wordpress.org/extend/themes
  • 3. Theme Review Guidelines The Theme Review Guidelines are maintained by the Theme Review Team. It outline standards and practices for WordPress Theme development and design.
  • 4. Theme Review Guidelines Code Quality Themes must not generate any WordPress deprecated-function notices, PHP errors, warnings, or notices, HTML/CSS validation errors, or JavaScript errors.
  • 5. Theme Review Guidelines Code Quality ✓ Themes must not use deprecated functions ✓ Themes must not support backward compatibility for more than two prior major WordPress versions ✓ Themes must not have any notices, warnings, or errors when using WP_DEBUG in wp-config.php ✓ Themes must not generate any JavaScript errors ✓ Themes are required to use a ‘theme-slug’ as the textdomain for translation purposes
  • 6. Theme Review Guidelines Presentation vs Functionality Themes must not be used to define the generation of user content, or to define Theme-independent site options or functionality.
  • 7. Theme Review Guidelines Presentation vs Functionality ✓ Themes are required to have all public-facing text in English ✓ Theme may optionally incorporate translation/ internationalization ✓ Themes are recommended not to implement custom favicon functionality
  • 8. Theme Review Guidelines Theme Features Themes are required to support proper WordPress core implementation of all included features.
  • 9. Theme Review Guidelines Theme Features ✓ Theme is required to incorporate the following WordPress core Theme Features: - Automatic Feed Links - Sidebars - Comments ✓ Theme is recommended (but not required) to incorporate the following core features: - Navigation Menus - Post Thumbnails - Custom Headers - Custom Backgrounds - Visual Editor CSS ✓ Theme must not incorporate Admin/feature pointers
  • 10. Theme Review Guidelines Template Tags and Hooks Themes are required to implement WordPress template tags and hooks properly.
  • 11. Theme Review Guidelines Template Tags and Hooks ✓ Certain template tags and hooks are required to be included, such as: - wp_title() - wp_head() - wp_footer() ✓ Standard template files are required to be called correctly, such as: - get_header() - get_footer() - get_template_part() ✓ Themes are required to correctly enqueue all stylesheets and scripts: - wp_enqueue_style() - wp_enqueue_script()
  • 12. Theme Review Guidelines WordPress-Generated CSS Classes Themes are required to support WordPress- generated CSS classes.
  • 13. Theme Review Guidelines WordPress-Generated CSS Classes ✓ Themes are required to support certain css classes, such as: - .aligncenter - .alignleft - .alignright - .wp-caption - .wp-caption-text - .gallery-caption - .sticky - .bypostauthor
  • 14. Theme Review Guidelines Theme Template Files Themes are required to utilise Theme template files properly.
  • 15. Theme Review Guidelines Theme Template Files ✓ Theme is required to include, at a minimum: - index.php - comments.php - style.css ✓ Theme is recommended to include: - 404.php - archive.php - page.php - search.php - single.php - header.php - footer.php - sidebar.php ✓ Theme thumbnail (screenshot.png) is recommended to be 600 x 450px
  • 16. Theme Review Guidelines Security and Privacy Themes are required to implement Theme settings properly, to ensure proper data security, and to ensure end user privacy.
  • 17. Theme Review Guidelines Security and Privacy ✓ Themes are required to prefix all options, custom functions, custom variables, and custom constants with theme-slug (or appropriate variant). ✓ Themes are required to validate and sanitize all untrusted data ✓ Themes must not "phone home" without informed user consent
  • 18. Theme Review Guidelines Licensing Themes are required to be licensed fully under a GPL-compatible license.
  • 19. Theme Review Guidelines Licensing ✓ Themes are required to be 100% GPL-licensed, or use a GPL-compatible license. This includes all PHP, HTML, CSS, images, fonts, icons, and everything else. All of the theme must be GPL- compatible. ✓ Themes are required to declare their license explicitly ✓ Themes must not clone the design of a past or present web site.
  • 20. Theme Review Guidelines Theme Name Themes are required to use appropriate Theme Names.
  • 21. Theme Review Guidelines Theme Name ✓ Themes are not to use WordPress in their name ✓ Themes are not to use the term Theme in their name ✓ Themes may use the WP acronym in the Theme name ✓ Themes are not to use version-specific, markup-related terms (e.g. HTML5, CSS3, etc.) in their name.
  • 22. Theme Review Guidelines Credit Links Themes are recommended to use credit links. If used, credit links are required to be appropriate.
  • 23. Theme Review Guidelines Credit Links ✓ Themes may optionally designate Author URI and Theme URI in style.css and are recommended to provide at least one of these two links ✓ Themes may optionally include a public-facing credit link in the Theme footer ✓ Since Themes are GPL (or compatible), Theme authors are prohibited from requiring that these links be kept by Theme users
  • 24. Theme Review Guidelines Theme Documentation Themes are required to provide sufficient documentation to explain the use of any custom features or options.
  • 25. Theme Review Guidelines Theme Documentation ✓ Themes are required to provide end-user documentation of any design limitations or extraordinary installation/setup instructions ✓ Themes are recommended to include a readme.txt file ✓ In lieu of a readme.txt file, Themes are recommended to include a changelog, indicating version-to-version Theme changes.
  • 26. Theme Review Guidelines Theme Unit Test Themes are required to meet all requirements in the Theme Unit Tests.
  • 27. Theme Review Guidelines Theme Unit Test ✓ The Theme must meet all the requirements of the Theme Unit Test http://codex.wordpress.org/Theme_Unit_Test
  • 28. Theme Review Guidelines Theme Obsolescence Themes are required to be kept current once accepted into the Theme Repository.
  • 29. Theme Review Guidelines Theme Obsolescence ✓ Themes must be kept current once submitted, approved, and accepted into the Theme Repository. ✓ Any Theme not updated to the current theme review process as of the most recent release of WordPress may be subject to temporary suspension.
  • 30. Theme Development Whether you’re developing for the Theme Directory, a client or just yourself... It pays to have good code. WordPress provides you with a set of standards to follow.
  • 31. Theme Development Theme Development Standards ✓ Use well-structured, error-free PHP & valid HTML WordPress Coding Standards: http://codex.wordpress.org/WordPress_Coding_Standards ✓ Use clean, valid CSS CSS Coding Standard: http://make.wordpress.org/core/handbook/coding-standards/css ✓ Follow design guidelines Site Design and Layout: http://codex.wordpress.org/Site_Design_and_Layout
  • 32. Theme Development Theme Stylesheet Add information about your theme into your style.css file, in the form of comments. /* Theme Name: Twenty Thirteen Theme URI: http://wordpress.org/extend/themes/twentythirteen Author: the WordPress team Author URI: http://wordpress.org/ Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a gorgeous color scheme and matching header images, optional display fonts for beautiful typography, and a wide layout that looks great on large screens yet remains device-agnostic and is readable on any device. Version: 0.1 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: black, brown, orange, tan, white, light, one-column, two-columns, right-sidebar, flexible- width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl- language-support, sticky-post, translation-ready Text Domain: twentythirteen This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. */
  • 33. Theme Development Theme Stylesheet When specifying your tags in style.css, make sure to only use the allowed tags. http://wordpress.org/extend/themes/tag-filter
  • 34. Theme Development Code Formatting Pretty code makes for happy developers! Using Sublime Text 2, automatically format your PHP to conform to the WordPress Coding Standards https://github.com/welovewordpress/SublimePhpTidy Bonus Tip: Easily search the WordPress Codex or lookup WordPress functions https://github.com/welovewordpress/SublimeWordPressCodex
  • 35. Theme Development 100% GPL Themes must be 100% GPL (or GPL-Compatible) This means ALL images, HTML, CSS, PHP, fonts, icons, JavaScript etc. Creative Commons is not GPL-Compatible
  • 36. Oh, one last thing...
  • 37. Spell “WordPress” correctly!!! ✓ All one word! ✓ Uppercase W! ✓ Uppercase P!
  • 38. Links to Remember WordPress Theme Review Team http://make.wordpress.org/themes Theme Review Guidelines http://codex.wordpress.org/Theme_Review Theme Unit Test http://codex.wordpress.org/Theme_Unit_Test CSS Coding Standards http://make.wordpress.org/core/handbook/coding-standards/css WordPress Coding Standards http://codex.wordpress.org/WordPress_Coding_Standards Readme.txt format. Similar format to this plugin readme sample http://wordpress.org/extend/plugins/about/readme.txt Uploading your theme to the Theme Directory http://wordpress.org/extend/themes/upload
  • 39. Links to Remember GNU GPL v2.0 License http://www.gnu.org/licenses/gpl-2.0.html GPL-compatible font licenses http://codex.wordpress.org/Theme_Review#GPL-Compatible_Font_Licenses GPL-compatible icon sets http://codex.wordpress.org/Theme_Review#GPL-Compatible_Icon_Sets Theme Check Plugin. Make sure to test your theme before submitting http://wordpress.org/extend/plugins/theme-check Monster Widget. A quick method of adding all core widgets to a sidebar http://wordpress.org/extend/plugins/monster-widget
  • 40. That’s all folks!☺ Thanks! Questions? You can find me here... maddisondesigns.com easywpguide.com @maddisondesigns