Theme Mentor

plugin banner

Theme Mentor is a cousing of the Theme-Check plugin getting deeper into the code analysis.

Author:nofearinc (profile at wordpress.org)
WordPress version required:4.9.13
WordPress version tested:5.2.20
Plugin version:0.2
Added to WordPress repository:16-02-2013
Last updated:12-02-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:2
Plugin URI:https://github.com/mpeshev/Theme-Mentor
Total downloads:4 954
Active installs:10+
plugin download
Click to start download

Theme Mentor is a cousin of the Theme-Check plugin getting deeper into the code analysis.

It’s using different approaches to monitor for common problems regarding theme reviews from the WordPress Theme Reviewers Team. It is prone to fault analysis, so use only as a reference for improving your code base even further.

Currently supported validations:

  • Mark all tags in template files
  • Mark all tags in template files
  • Warn about query_posts() usage
  • capital_P_dangit control (disallow any WordPress spelling other than WordPress as is – that is WORDPRESS and WordPress, ugh)
  • wp_deregister_script(‘jquery’) is forbidden
  • wp_dequeue_script(‘jquery’) is forbidden
  • prevent global $data; call as a common troublemaker (props @pippinsplugins)

header.php specific

  • Make sure that wp_head is before
  • Ensure that wp_title(…) is called within and tags

footer.php specific

  • Make sure that wp_footer is before

Screenshots
FAQ
ChangeLog