Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
14 October 2014
11 November 2014IMPACT HUB BUCHAREST
The Road To Wordpress Themes
Guidelines and Plugins
WHY?
LEARNING THE RIGHT WAY!
• Lack of knowledge • Doing it wrong • Refresh your knowledges
FIRST
Professional feedback
LEARNING THE RIGHT WAY!
FIRST
SECONDVISIBILITY
Stand out from the crowd
EMIL UZELACTheme: RESPONSIVE
Leads WordPress 4.1 development team
• theme was bought by CyberChimps
• the most popular theme on wordpres.org/themes,after 3 months from publishing it
THIRDGive something back to community!
GUIDELINES
GUIDELINES
REQUIRED
RECOMMENDED
OPTIONAL
GUIDELINESREQUIRED
Theme files:
index.php style.css
screenshot.png comments.php
GUIDELINES
REQUIRED
style.css
• Theme Name • Theme URI • Author • Author URI • Description • Version • License • License URI • Text domain • Tags
Should explicitly declare the copyright and release lincense information, along with the license for any bundled resources
CORE CSS CLASSES • Alignment:
alignleft, alignright, aligncenter • Caption related:
wp-caption, wp-caption-text, gallery-caption
• Post classes:sticky
• Comment Classes:bypostauthor
GUIDELINES
REQUIREDscreenshot.png
Max size 880x660“Reasonable facsimile” of the Theme after it is initially activated with default
options
GUIDELINES
REQUIREDindex.php comments.php
<html>
<head>
</head>
<body>
</body></html>
wp_head();
wp_footer();
comments_template();
wp_list_comments();
comment_form();
wp_enque_script(‘comment-reply’);THE WORDPRESS LOOP
GUIDELINES
REQUIRED
• support for no more then one version below; now -> 3.8
• no hard coding. Use instead the hooks, filters and functions parameters to modify content
• fonts, styles and scripts are enqueued in functions.php
RECOMMENDEDThemes are recommended not to implement custom
favicon functionality. If implemented, favicon functionality is required to be opt-in, and disabled by
default. If implemented, favicon functionality is required to support user-defined favicon images.
RECOMMENDED
Theme files:
404.php archive.php
page.php search.php single.php
header.php footer.php
sidebar.php
If search form is used:
If login form is used:wp_login_form();
get_search_form();
OPTIONAL- advices form your theme reviewer
PLUGIN: Theme CheckBy Pross, Otto42
define('WP_DEBUG', true);
https://make.wordpress.org/themes/handbook/guidelines/
GETTING YOUR THEME ON WORDPRESS
Set up an account & upload your themehttps://wordpress.org/themes/upload/
IMPORTANTMake things right from the beginning!
Theme recheck means going through all the checking points, including those already passed by previous checks!
All reviewers are checking themes in their free time!
A theme check could take from one week to one month or more, depending on reviewer's availability and
theme's compliance with the WordPress guidelines!
Become a Reviewer
no minimum hours required! you’ll get a mentor!
you can ask help from everyone!
NEED to be willing to learn and help! NEED to give some of your time to this job!
NEED to be responsible and to love doing this!
https://make.wordpress.org/themes/
Recap Some StepsFollow the guidelines !
Code like a Pro!
Verify your theme before publishing!
Have some patience and be respectful!
Do it for the people!
https://make.wordpress.org/themes/handbook/guidelines/
Theme Check - https://wordpress.org/plugins/theme-check/