![Page 1: Wordpress theme submission requirement for Themeforest](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/1.jpg)
WORDPRESS THEME SUBMISSION REQUIREMENT
Enayet Husain Rajib
CEO & Founder, TheWebLab
![Page 2: Wordpress theme submission requirement for Themeforest](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/2.jpg)
Positively Emotionally Attached
Believe in yourself.
![Page 3: Wordpress theme submission requirement for Themeforest](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/3.jpg)
![Page 4: Wordpress theme submission requirement for Themeforest](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/4.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/5.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/6.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/7.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/8.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/9.jpg)
![Page 10: Wordpress theme submission requirement for Themeforest](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/10.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/11.jpg)
Q: Why this requirement?
A: Just to maintain a minimum standard of quality
![Page 12: Wordpress theme submission requirement for Themeforest](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/12.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/13.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/14.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/15.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/16.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/17.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/18.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/19.jpg)
![Page 20: Wordpress theme submission requirement for Themeforest](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/20.jpg)
![Page 21: Wordpress theme submission requirement for Themeforest](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/21.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/22.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/23.jpg)
PLUGINS
Recommended and required plugins must be included via
the TGM Plugin Activation class
![Page 24: Wordpress theme submission requirement for Themeforest](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/24.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/25.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/26.jpg)
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](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/27.jpg)
PHASE TWO
Move functionality into plugins instead of themes
Shortcodes are permitted but in plugins
![Page 28: Wordpress theme submission requirement for Themeforest](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/28.jpg)
http://www.thethemelab.com/FlatOneWP/Documentation/
![Page 29: Wordpress theme submission requirement for Themeforest](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/29.jpg)
![Page 30: Wordpress theme submission requirement for Themeforest](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/30.jpg)
facebook.com/theweblab
LearnTodayWithMe.COM
TheWebLabLtd.COM
![Page 31: Wordpress theme submission requirement for Themeforest](https://reader030.vdocuments.us/reader030/viewer/2022032616/55a522551a28abba348b4832/html5/thumbnails/31.jpg)
http://www.slideshare.net/theweblab/