wordpress theme submission requirement for themeforest

31
WORDPRESS THEME SUBMISSION REQUIREMENT Enayet Husain Rajib CEO & Founder, TheWebLab

Upload: enayet-rajib

Post on 14-Jul-2015

1.534 views

Category:

Software


2 download

TRANSCRIPT

Page 1: Wordpress theme submission requirement for Themeforest

WORDPRESS THEME SUBMISSION REQUIREMENT

Enayet Husain Rajib

CEO & Founder, TheWebLab

Page 2: Wordpress theme submission requirement for Themeforest

Positively Emotionally Attached

Believe in yourself.

Page 3: Wordpress theme submission requirement for Themeforest
Page 4: Wordpress theme submission requirement for Themeforest

Better if you have a team

The no of members in the team

The skills you have in your team

Page 5: Wordpress theme submission requirement for Themeforest

Who can design

Who is familiar with photoshop and its tools.

Who have the idea about latest web trends

Page 6: Wordpress theme submission requirement for Themeforest

THREE RULES

6

1. Spacing, the use of white space

2. Color contrast

3. Typography (Very important!)

Page 7: Wordpress theme submission requirement for Themeforest

If your psd gets accepted. Great !

Even if your psd gets rejected but you are confident

with the design, you can try developing the html

template and submit

Page 8: Wordpress theme submission requirement for Themeforest

Pixel perfect psd to css/html

Perfectly responsive preferred

with Bootstrap

Add/apply css3/jQuery

animation/effects where

applicable

Clean and commented code

A documentation

theweblabltd.com/Doc.zip

FRONT END DEVELOPER

Page 9: Wordpress theme submission requirement for Themeforest
Page 10: Wordpress theme submission requirement for Themeforest

Now your design gets accepted,

lets develop the WORDPRESS theme!

Next slides is for those who are familiar

with PHP and Wordpress

Page 11: Wordpress theme submission requirement for Themeforest

Q: Why this requirement?

A: Just to maintain a minimum standard of quality

Page 12: Wordpress theme submission requirement for Themeforest

WordPress Core API

WordPress Features

WordPress Unit Tests

WordPress Assets

Security

PHP Quality

HTML/CSS Quality

JavaScript Quality

Page 13: Wordpress theme submission requirement for Themeforest

1. No deprecated template tags allowed

2. Use “Theme-Check” plugin to eliminate WARNING,

REQUIRED, RECOMMENDED, and INFO notices as much

as possible.

3. The following functions are mandatory:

wp_title(), wp_head(), wp_footer(), post_class(),

body_class()

Page 14: Wordpress theme submission requirement for Themeforest

4. custom template files are required to be called using

get_template_part() or locate_template()

5. File naming and structure must follow WordPress best

practices. Say, don’t use custom-header.php, rather name it

like header-about.php

6. WordPress core features need to be incorporated.

Page 15: Wordpress theme submission requirement for Themeforest

6. Modification of filters in wptexturize(), wpautop is not

allowed.

7. Default WordPress CSS classes must be covered in the

stylesheet, since this is expected native behavior.

8. Use a unique prefix for all function names, classes,

hooks, public/global variables, and database entries to avoid

conflict issues with plugins and other themes.

Page 16: Wordpress theme submission requirement for Themeforest

WORDPRESS FEATURES

The theme needs to be widget ready in all advertised

locations.

Use of Timthumb is not allowed.

Themes are required to provide child theme support.

Page 17: Wordpress theme submission requirement for Themeforest

wp_nav_menu() must be included in at least one theme

location for easy menu management.

All of WordPress' default widgets should be styled/display

properly in all widgetized areas.

index.php should be reserved for standard blog

"latest posts" view.

Page 18: Wordpress theme submission requirement for Themeforest

WordPress Theme Submission Requirements

https://help.market.envato.com/hc/en-us/articles/202822450-WordPress-Theme-

Submission-Requirements

Q A for WordPress Phase 1 Submission Requirements

https://help.market.envato.com/hc/en-us/articles/202501494-Q-A-for-WordPress-Phase-

1-Submission-Requirements

Page 19: Wordpress theme submission requirement for Themeforest
Page 20: Wordpress theme submission requirement for Themeforest
Page 21: Wordpress theme submission requirement for Themeforest

WORDPRESS UNIT TEST

Its basically testing and confirming all default worpdress

features are working fine

http://codex.wordpress.org/Theme_Unit_Test

Page 22: Wordpress theme submission requirement for Themeforest

WORDPRESS ASSETS

wp_enqueue_style() and wp_enqueue_script() must be

used to enqueue all stylesheets and JavaScript

Authors are not allowed to deregister the default version

of jQuery and load another one.

Page 23: Wordpress theme submission requirement for Themeforest

PLUGINS

Recommended and required plugins must be included via

the TGM Plugin Activation class

Page 24: Wordpress theme submission requirement for Themeforest

PHP

Set WP_DEBUG to TRUE and check for any PHP notices,

warnings, or errors

Don’t access wp database directly. Use $wpdb and its

methods

Tabs must be used for indentation

https://make.wordpress.org/core/handbook/coding-

standards/php/

Page 25: Wordpress theme submission requirement for Themeforest

HTML/CSS

HTML needs to be W3C validated

No inline styles

IDs and classes should follow a naming convention and

needs to be appropriate and human readable.

Page 26: Wordpress theme submission requirement for Themeforest

JAVASCRIPT

All js code should be placed in external files whenever

possible.

It shouldn't raise any errors or notices.

jshint.com

Page 27: Wordpress theme submission requirement for Themeforest

PHASE TWO

Move functionality into plugins instead of themes

Shortcodes are permitted but in plugins

Page 28: Wordpress theme submission requirement for Themeforest

http://www.thethemelab.com/FlatOneWP/Documentation/

Page 29: Wordpress theme submission requirement for Themeforest
Page 30: Wordpress theme submission requirement for Themeforest

facebook.com/theweblab

[email protected]

LearnTodayWithMe.COM

TheWebLabLtd.COM

Page 31: Wordpress theme submission requirement for Themeforest

http://www.slideshare.net/theweblab/