This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Frontend Debugger


Only for development!


  • Header
  • Thumbnails
  • The Loop (content)
  • Footer
  • Included template parts
  • Highlight script, link and style elements

To remove all registered scripts and styles add ?remove-scripts to the URL. All these scripts and styles will be listed at the bottom of the footer as HTML comment. This way it is possible to detect non-WordPress script printing.

If you are not an administrators add ?view-source to the URL to activate Frontend Debugger.

Notice: This plugin uses regular expressions and eval() to get the current template apart.

TODO: sidebar, search-form.

The mini control panel contains:

  • Header, Thumbnails, The Loop, Footer, Included files anchors
  • Toogle button for line numbers
  • Toggle button for line wrapping
  • Toggle button for showing line ends
  • Button for script and style highlighting

From the second click on the Highlight button loops through (scrolls to) all scripts and styles.

The control panel’s state is kept in your browser’s localStorage.

Development of this plugin goes on on GitHub. Please contribute by sending PR-s implementing my TODO-s.


  • The Loop.
  • The Header.
  • Included files.


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

  1. Uppack the ZIP to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


September 3, 2016
Saves a lot of time when wondering which template file is responsible for the view. Especially when themes include their own files and override the default templates.
Read all 1 review

Contributors & Developers

“Frontend Debugger” is open source software. The following people have contributed to this plugin.

Translate “Frontend Debugger” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Added remove-scripts GET parameter
  • Added Highlight button secondary function: loop through all scripts and styles


  • Added template part detection from barrykooij’s What The File plugin.
  • Updated fail2ban trigger on direct access.
  • Added support for get_template_part() detection.
  • WordPress 4.3 compatibility.


  • Fixed site_url() instead home_url().


  • Highlight script, link and style elements.


  • Prevent search engine indexing.


  • Display page URL.
  • Some visual cosmetics.


  • Include remote scripts and styles.


  • Initial release.