WordPress.org

Support

Support » Plugins and Hacks » using debug bar to get current template file

using debug bar to get current template file

  • Forgive this newbie problem 🙂 . I installed Debug Bar in WP in a local server environment so that I could get the name of the template file that WP is calling to display certain pages. There are two tabs on the left: “Request” and “Object Cache” (and the parameters when I click “Request” all say “None”). Do I need to add one of the Debug Bar add-on plugins to get the information I need? When I’ve seen screenshots of people using Debug Bar for this purpose, I see they have a tab “WP Queries”, which I do not have.

    (BTW, I went into wp-config.php and made sure that ‘WP_DEBUG’ was set to True).

    Thanks!

    http://wordpress.org/extend/plugins/debug-bar/

Viewing 1 replies (of 1 total)
  • jrf
    Participant

    @jrf

    Terry, not sure whether the question is still relevant, but to see the queries, you need to add the following line to wp-config.php:

    define('SAVEQUERIES', true);

    There are also a number of extensions to the Debug Bar available which each show different additional info. Search in the plugin repository for ‘Debug bar’ and you should find most of them 😉

    Hope this helps!

    Smile,
    Juliette

Viewing 1 replies (of 1 total)
  • The topic ‘using debug bar to get current template file’ is closed to new replies.