Asking to recommend a product (plugin, theme, book, hosting provider), tool, library, or off-site resource is out of scope for this site, as it attracts opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 11 years ago.
Improve this questionI am looking for a Wordpress plugin that prints file template names, maybe with a designating border. Magento has "template hints", as you can see in this screenshot:
If there is not such a plugin and someone would like to develop it with me, let's do that, too!
Closed. This question is off-topic. It is not currently accepting answers.Asking to recommend a product (plugin, theme, book, hosting provider), tool, library, or off-site resource is out of scope for this site, as it attracts opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 11 years ago.
Improve this questionI am looking for a Wordpress plugin that prints file template names, maybe with a designating border. Magento has "template hints", as you can see in this screenshot:
If there is not such a plugin and someone would like to develop it with me, let's do that, too!
I use a plugin called Query Monitor, that does a whole bunch of stuff, including showing the page's template. It's in the WordPress Repo.
Here is what I use. It will display the current template file name to logged-in users. Paste this in your functions.php file and comment out/remove when not in use.
// REMOVE - show template name
add_action('wp_head', 'show_template');
function show_template() {
global $template;
global $current_user;
get_currentuserinfo();
if ($current_user->user_level == 10 ) print_r($template);
}
// REMOVE - end show template name