Wordpress theme submission requirement for Themeforest

  • View
    1.534

  • Download
    2

  • Category

    Software

Preview:

Citation preview

WORDPRESS THEME SUBMISSION REQUIREMENT

Enayet Husain Rajib

CEO & Founder, TheWebLab

Positively Emotionally Attached

Believe in yourself.

Better if you have a team

The no of members in the team

The skills you have in your team

Who can design

Who is familiar with photoshop and its tools.

Who have the idea about latest web trends

THREE RULES

6

1. Spacing, the use of white space

2. Color contrast

3. Typography (Very important!)

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

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

Now your design gets accepted,

lets develop the WORDPRESS theme!

Next slides is for those who are familiar

with PHP and Wordpress

Q: Why this requirement?

A: Just to maintain a minimum standard of quality

WordPress Core API

WordPress Features

WordPress Unit Tests

WordPress Assets

Security

PHP Quality

HTML/CSS Quality

JavaScript Quality

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()

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.

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.

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.

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.

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

WORDPRESS UNIT TEST

Its basically testing and confirming all default worpdress

features are working fine

http://codex.wordpress.org/Theme_Unit_Test

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.

PLUGINS

Recommended and required plugins must be included via

the TGM Plugin Activation class

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/

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.

JAVASCRIPT

All js code should be placed in external files whenever

possible.

It shouldn't raise any errors or notices.

jshint.com

PHASE TWO

Move functionality into plugins instead of themes

Shortcodes are permitted but in plugins

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

facebook.com/theweblab

enayet@theweblabltd.com

LearnTodayWithMe.COM

TheWebLabLtd.COM

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

Recommended