Bootstrap Templates Bundle

Monday, June 8, 2015

Themeforest WordPress Soft-Rejection Reasons

1. 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

2. http://envato.d.pr/70LX/2xoO6dxY

3. http://envato.d.pr/17o9S/1UqGOmZs

4. http://envato.d.pr/1fL0r/2A22MSZv


5. 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/

6. 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/

7. 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.

9. 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.


12. http://envato.d.pr/1exQQ/2CmMfYiq

13. http://envato.d.pr/19YIF/5oxYvi8p

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/

15. 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.

16. 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

17. Try wp_reset_postdata() instead.

18.  Make sure all the WP default widgets display properly in all widgetized areas. You can check with monster widgets plugin.

19.  Custom widget areas must use the safety condition “is_active_sidebar” to ensure no naming conflict with other plugins.


20. Please perform a global search for "echo $" and you will see several issues.




22. http://envato.d.pr/1b4st/Zxkry5eR

23. 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

24. 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

25. Logo should link to blog feed/index page.

26. No space between paragraphs. http://envato.d.pr/1d4O6/5z2D59V8

27. 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.

28. Your theme does not support drop down menus. Please state this in your item description.



30. 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/

31. wp_footer needs to be immediately before the end of the body tag. http://codex.wordpress.org/Function_Reference/wp_footer

32. All theme logic belongs in functions.php

33. Remove this: http://envato.d.pr/16VqL/5G9XtcGy

34. Prefix all your custom functions, variables, classes, etc. A good rule of thumb is to prefix everything with your theme initials and your own initials. Read more: http://nacin.com/2010/05/11/in-wordpress-prefix-everything/

35. 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.
- The search results page displays properly, with search query results displayed.
- As "sticky posts" are a core feature, the theme should style and display them appropriately.
- "Read More" link works properly (links to single post at "<!--more-->" tag location).
- If theme supports post format type, post displays as intended in the index view.
- 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.
- Look for potential overflow issues if the theme has a small title area matched with a long non-breaking string.

37. Comments do not appear. http://envato.d.pr/17RFs/500q8jOw



1 comment:

  1. Hello, Nice to meet you admin,
    This quite nice article.
    Really good article indeed.
    By the way, i am having some problems with my wordpress themes.
    Here the thrive themes membership discount review. you can read the full the full article here thrive themes membership thanks

    ReplyDelete

Wokiee React eCommerce Template