Themeforest Theme RequirementsTopic Forests Theme Requirements
For the past three month I've been asked again and again what the most frequent denials of ThemeForest are that I've discovered while browsing WordPress topics on ThemeForest - so of course I have written about them! Contribute this article to a series of 11 easy hints for approving your WordPress theme on ThemeForest.
Undoubtedly, these hints correspond to the most frequent reason why WordPress topics are declined. These thoughts are entirely rooted in my own WordPress experiences and are not supported by Envato. Compliance with these regulations does not ensure permission - although you will probably have a much faster journey!
Ok, so your WordPress theme works, but is it protected and protected? Review your WordPress theme twice and three times to make sure all things escape as soon as possible. THERME KECK is virtually the simplest way to synchronize your WordPress theme with the latest programming norms and technologies.
Although it doesn't have everything covered, it's a great utility to run before a WordPress theme is sent to ThemeForest. To be honest, you should do a review every times a major topic is updated. Some of the most easily checked bugs are common PHP bugs. Activate wp_debug and go to the city and review your design yourself to make sure there are no PHP bugs, hints or cautions.
Also, you should always verify for bugs when you are submitting an upgrade. Any PHP filenames, PHP classnames, global, actions, filter, script/style handle (which are not third-party handles), and even picture size, must all be given the menu name_ or framework_ (where frameworks are used). There is one WordPress theme creation policy that is at the top of the page.
When asked about the specification of a topic preferred, Stephen Cronin referred to the following in this contribution to the forum: Theme names have become the default in many parts of the WordPress fellowship, so this will remain the preferred name of our [ThemeForest's]. We do, however, recognize that this is not practicable for those of you who re-use features between topics, and we will therefore assume the name of the frameworks under these conditions.
I use the suffix themename_ all around for my WordPress topics because it is easy and neat. In order to facilitate my research, I have created a swallow assignment to find my research prefixes and substitute them with the theme's slout. WordPress topics are developed in many different ways, one of which is to ensure that each general use case is addressed from a functional point of view.
This is where the Theme Units Test comes in. The installation of the Theme Units test is not particularly nice, but it is mandatory to create a super-stable design. Every times I look through WordPress topics, I always instal the Theme Units Test. Fill yourself in with a favour and set up a new installation locally, load the component test and perform every contribution, every page and every adjustment.
Frequent problems include spreadsheet view error, picture alignment, fast response commenting, pingback view error, password-protected post-styling problems, and mistakes in the indexing. Note that each TGMPA issue should be checked for the latest TGMPA releases each year. Please click here to see the latest TGMPA update.
If you use the TGM plug-in activation libary to integrate preconfigured WordPress plug-ins, you should use get_template_directory() instead of get_stylesheet_directory() for the plugin's code. The use of get_template_directory() makes sure that the plug-ins are still installationable even if a subordinate design is enabled. All users should have a free hand to enable or disable WordPress plug-ins currently running on their website.
If plug-ins are automatically turned off (or automatically activated), this leads to confusions and the users are not sure which items of their website are either turned off or completely destroyed. In the first place, you should not have your script and style hard-coded somewhere in your WordPress theme. The use of the wp_enqueue* cookie is the only permitted way to properly append a script or style to your design.
You can use customizer customization stylings, include customizer customization choices, by using script file names like and script file names like W and script file names. You should NOT prefix any third-party stores and script used in your WordPress theme. Have a look at Ulrich Pogson's WP Default Grips to get more default grips from traditional asset that are contained in WordPress topics today.
In addition, you do not need to make sure that the asset is endless. If you are looking for a particularly nice document style sheet, I have developed WPThemeDoc, a fast and simple document style sheet for WordPress Theme developer. In general, if your topic matches the following frequent misadventures, you will probably have a much faster amount of elapsed order to approve your WordPress topic on ThemeForest.
Here again, these hints are exclusively grounded on my own WordPress experiences with ThemeForest and are not supported by Envato. You are editing: In additon to this article I have written an article about the three different principals for creating WordPress topics.