Plugin Directory

Query debug info

Adds information about the loop query and custom queries in the frontend

  • Upload the file to your server and extract it in the /wp-content/plugins/ directory
  • Activate the plugin through the 'Plugins' menu in WordPress

Usage

  • Add the function call <?php if (function_exists('debuginfo')) { debuginfo("Main"); }?> in your template to display information about the main query
  • Add additional calls <?php if (function_exists('debuginfo')) { debuginfo("Secondary",2); }?> after creating a new WP_Query object, if you want to track a specific variable you can pass it to the function, example:
  • The information is only displayed if you are logged in as an administrator.

Requires: 2.8 or higher
Compatible up to: 2.8.x
Last Updated: 2009-12-17
Downloads: 468

Average Rating

3 stars
(2 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
0,1,0