Title: Frontend Debugger
Author: Viktor Szépe
Published: <strong>11 March 2015</strong>
Last modified: 29 August 2015

---

Search plugins

![](https://ps.w.org/frontend-debugger/assets/banner-772x250.png?rev=1110542)

This plugin **hasn’t been tested with the latest three 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.

![](https://ps.w.org/frontend-debugger/assets/icon-256x256.png?rev=1110542)

# Frontend Debugger

 By [Viktor Szépe](https://profiles.wordpress.org/szepeviktor/)

[Download](https://downloads.wordpress.org/plugin/frontend-debugger.0.9.0.zip)

 * [Details](https://en-gb.wordpress.org/plugins/frontend-debugger/#description)
 * [Reviews](https://en-gb.wordpress.org/plugins/frontend-debugger/#reviews)
 *  [Installation](https://en-gb.wordpress.org/plugins/frontend-debugger/#installation)
 * [Development](https://en-gb.wordpress.org/plugins/frontend-debugger/#developers)

 [Support](https://wordpress.org/support/plugin/frontend-debugger/)

## Description

#### Only for development!

Displays:

 * 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](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage).

Development of this plugin goes on on [GitHub](https://github.com/szepeviktor/frontend-debugger).
Please contribute by sending PR-s implementing my TODO-s.

## Screenshots

 * [[
 * The Loop.
 * [[
 * The Header.
 * [[
 * Included files.

## Installation

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

## Reviews

![](https://secure.gravatar.com/avatar/849b5e0575ba69c656852107836ed26fafe535916b8ebfd8bdf5ed579bedf9ac?
s=60&d=retro&r=g)

### 󠀁[Great plugin!](https://wordpress.org/support/topic/great-plugin-7350/)󠁿

 [Denis Stoyanov](https://profiles.wordpress.org/denisstoyanov/) 3 September 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 ](https://wordpress.org/support/plugin/frontend-debugger/reviews/)

## Contributors and Developers

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

Contributors

 *   [ Viktor Szépe ](https://profiles.wordpress.org/szepeviktor/)

[Translate “Frontend Debugger” into your language.](https://translate.wordpress.org/projects/wp-plugins/frontend-debugger)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/frontend-debugger/),
check out the [SVN repository](https://plugins.svn.wordpress.org/frontend-debugger/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/frontend-debugger/)
by [RSS](https://plugins.trac.wordpress.org/log/frontend-debugger/?limit=100&mode=stop_on_copy&format=rss).

## Change Log

#### 0.9.0

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

#### 0.8.0

 * 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.

#### 0.7.1

 * Fixed site_url() instead home_url().

#### 0.6

 * Highlight script, link and style elements.

#### 0.5

 * Prevent search engine indexing.

#### 0.4

 * Display page URL.
 * Some visual cosmetics.

#### 0.3

 * Include remote scripts and styles.

#### 0.2

 * Initial release.

## Meta

 *  Version **0.9.0**
 *  Last updated **11 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **4.3.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/frontend-debugger/)
 * Tags
 * [debug](https://en-gb.wordpress.org/plugins/tags/debug/)[debugging](https://en-gb.wordpress.org/plugins/tags/debugging/)
   [developer](https://en-gb.wordpress.org/plugins/tags/developer/)[development](https://en-gb.wordpress.org/plugins/tags/development/)
   [Frontend](https://en-gb.wordpress.org/plugins/tags/frontend/)[html](https://en-gb.wordpress.org/plugins/tags/html/)
   [source](https://en-gb.wordpress.org/plugins/tags/source/)
 *  [Advanced View](https://en-gb.wordpress.org/plugins/frontend-debugger/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/frontend-debugger/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/frontend-debugger/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/frontend-debugger/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/frontend-debugger/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/frontend-debugger/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/frontend-debugger/reviews/)

## Contributors

 *   [ Viktor Szépe ](https://profiles.wordpress.org/szepeviktor/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/frontend-debugger/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://szepe.net/wp-donate/)