WordPress.org

Ready to get started?Download WordPress

Forums

Debug Bar
using debug bar to get current template file (2 posts)

  1. terrytek
    Member
    Posted 1 year ago #

    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/

  2. jrf
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags