BACK TO DIRECTORY

Theme Mentor

by Mario Peshev

5.0
(2 ratings)

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

Sample Theme Mentor validation test results

Sample Theme Mentor validation test results

Plugin Details

Active Installs
10
Total Downloads
5,739
Version
0.2
Requires WP
4.9.13
Requires PHP
Tested Up To
5.2.26
Added
2013-02-16
Last Updated
2020-02-12 1:14pm GMT

Ratings

5
2
4
0
3
0
2
0
1
0