Hello Guys, i hope you are doing well
I have collected some of the soft-rejection reasons for WP themes and wanted to share it with you.
-
Prefix all your custom functions/variables/classes. A good rule of thumb is to prefix everything with your theme initials and your own initials. http://nacin.com/2010/05/11/in-wordpress-prefix-everything/
Example: http://envato.d.pr/11iFB/2zF1qyXn -
http://envato.d.pr/1iP7G/1X6FL8kV -
How to test the blog/posts layout/functionality - Import the Theme Unit Test [http://codex.wordpress.org/Theme_Unit_Test] file and make sure that:
- Posts display correctly, with no apparent visual problems or errors.
- Posts display in correct order.
- Page navigation displays and works correctly.
- As âsticky postsâ are a core feature, the theme should style and display them appropriately.
- Lack of body text should not adversely impact the layout.
- Theme must incorporate both the âTagâ and the âCategoryâ taxonomies in some manner.
- Floats are cleared properly for floated element (thumbnail image) at the end of the post content.
Reference link: https://wpthemetestdata.wordpress.com/
-
Make sure the CSS file is well documented with proper table of contents. ex:http://www.smashingmagazine.com/2008/05/02/improving-code-readability-with-css-styleguides/
-
Data Validation issues have been found in your theme. All dynamic data must be correctly escaped for the context where it is rendered.
- http://codex.wordpress.org/Data_Validation
- http://developer.wordpress.com/themes/escaping/
- https://vip.wordpress.com/2014/06/20/the-importance-of-escaping-all-the-things/
8.Please perform a global search for âecho $â and escape ALL outputs. This will ensure there are no security issues.
- wp_reset_query - if youâre not using query_posts(), then you really shouldnât be messing with the main $wp_query variable, as wp_reset_query() does.
10.query_posts() will change your main query and is not recommended. Only use if absolutely necessary
http://codex.wordpress.org/Function_Reference/wp_reset_query
11.Try wp_reset_postdata() instead.
14 Prefix all your custom functions/variables/classes. A good rule of thumb is to prefix everything with your theme initials and your own initials. http://nacin.com/2010/05/11/in-wordpress-prefix-everything/
-
wp_reset_query - if youâre not using query_posts(), then you really shouldnât be messing with the main $wp_query variable, as wp_reset_query() does.
-
query_posts() will change your main query and is not recommended. Only use if absolutely necessary
http://codex.wordpress.org/Function_Reference/wp_reset_query -
Try wp_reset_postdata() instead.
-
Make sure all the WP default widgets display properly in all widgetized areas. You can check with monster widgets plugin.
-
Custom widget areas must use the safety condition âis_active_sidebarâ to ensure no naming conflict with other plugins.
-
Please perform a global search for âecho $â and you will see several issues.
-
All dynamic data must be correctly escaped for the context where it is rendered.
- http://developer.wordpress.com/themes/escaping/
- https://vip.wordpress.com/2014/06/20/the-importance-of-escaping-all-the-things/
- https://css-tricks.com/introduction-to-wordpress-front-end-security-escaping-the-things/
-
index.php should be reserved for default blogroll and if there is no static page being set as front page, it should display the blogroll on homepage. You can use a custom page template for homepage.
http://codex.wordpress.org/Theme_Development#Index_.28index.php.29
-
Display a list of posts in excerpt or full-length form. Choose one or the other as appropriate.
Include wp_link_pages() to support navigation links within posts.
http://envato.d.pr/1jlxA/5HWBWlOx -
Logo should link to blog feed/index page.
-
No space between paragraphs. http://envato.d.pr/1d4O6/5z2D59V8
-
Data Validation issues have been found in your theme. All dynamic data must be correctly escaped for the context where it is rendered.
- http://codex.wordpress.org/Data_Validation
- http://developer.wordpress.com/themes/escaping/
- https://vip.wordpress.com/2014/06/20/the-importance-of-escaping-all-the-things/
Please perform a global search for âecho $â and you will see several issues.
-
Your theme does not support drop down menus. Please state this in your item description.
This is all what i could collect from my soft-rejected WP Themes. if you guys have any other message from reviewers for WP rejection reasons, please share it here.
Regards
Faton.