Title: Theme Mentor
Author: Mario Peshev
Published: <strong>16. februar, 2013</strong>
Last modified: 12. februar, 2020

---

Søg plugins

![](https://ps.w.org/theme-mentor/assets/banner-772x250.png?rev=2243127)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/theme-mentor/assets/icon-128x128.png?rev=2243127)

# Theme Mentor

 Af [Mario Peshev](https://profiles.wordpress.org/nofearinc/)

[Download](https://downloads.wordpress.org/plugin/theme-mentor.0.2.zip)

 * [Detaljer](https://da.wordpress.org/plugins/theme-mentor/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/theme-mentor/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/theme-mentor/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/theme-mentor/#developers)

 [Support](https://wordpress.org/support/plugin/theme-mentor/)

## Beskrivelse

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

## Skærmbilleder

 * [[
 * Sample Theme Mentor validation test results
 * [[

## Installation

This section describes how to install the plugin and get it working.

e.g.

 1. Upload `theme-mentor` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Appearance -> Theme Mentor
 4. Pick a theme and start the test

## FAQ

  Why would I need this plugin?

The higher the quality of your theme’s code, the better the compatibility with the
core and the plugins out there.

  Should I also use Theme-Check?

It’s not required, but it’s highly recommended. Theme Mentor is the extra step of
notifying you for possible troubles with your code. Part of the remarks could be
irrelevant, but hey, better to have something to double check and confirm it’s working
than to miss obvious code troubles.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Theme Mentor” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

 *   [ Mario Peshev ](https://profiles.wordpress.org/nofearinc/)

[Oversæt “Theme Mentor” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/theme-mentor)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/theme-mentor/), tjek
[SVN repository](https://plugins.svn.wordpress.org/theme-mentor/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/theme-mentor/) via [RSS](https://plugins.trac.wordpress.org/log/theme-mentor/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 0.1

 * A first release.
 * Tracking script/link tag presence, query_posts calls, and wp_head/wp_footer position
   in files

#### 0.2

 * Code refactor

## Meta

 *  Version **0.2**
 *  Senest opdateret **6 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 4.9.13 eller højere **
 *  Testet op til **5.2.24**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/theme-mentor/)
 * Tags
 * [code](https://da.wordpress.org/plugins/tags/code/)[quality](https://da.wordpress.org/plugins/tags/quality/)
   [review](https://da.wordpress.org/plugins/tags/review/)[testing](https://da.wordpress.org/plugins/tags/testing/)
   [theme](https://da.wordpress.org/plugins/tags/theme/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/theme-mentor/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  2 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/theme-mentor/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/theme-mentor/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/theme-mentor/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/theme-mentor/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/theme-mentor/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/theme-mentor/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/theme-mentor/reviews/)

## Bidragsydere

 *   [ Mario Peshev ](https://profiles.wordpress.org/nofearinc/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/theme-mentor/)