WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

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: 664

Ratings

3 stars
3 out of 5 stars

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