Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hello Guys, i hope you are doing well smile
- 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/4
- Example: http://envato.d.pr/11iFB/2zF1qyXn3
- http://envato.d.pr/70LX/2xoO6dxY9
- http://envato.d.pr/17o9S/1UqGOmZs2
- http://envato.d.pr/1fL0r/2A22MSZv5
- http://envato.d.pr/1iP7G/1X6FL8kV3 -
- 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/2
- 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.
- http://envato.d.pr/1exQQ/2CmMfYiq
- 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/3
- 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/
- http://envato.d.pr/1b4st/Zxkry5eR
- 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.
- http://envato.d.pr/em8T/55WrX4D7
- 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement