Hi Aurelien,
Your plugin is indispensable; thank you.
I’m wondering what the user capability is that one must have to see the template name.
When the plugin is enabled I’ve noticed that my clients – who typically have the role of “editor”- are able to see the template name. That’s a distraction for them and causes me to go back and forth between having it on and off.
It would be great if there were either the option to set it so that…
a) to see the display, you must have the capability of something specific to theme editing (perhaps to either ‘update_themes’ or ‘edit_theme_options’).
or
b) we can change the role or capability needed to see the display in the settings page.
Thanks again,
Bud
p.s. personal preference, but thought it worth mentioning – seems like lower-right is the least obtrusive place to display this and perhaps a better default.
https://www.ads-software.com/extend/plugins/display-template-name/
]]>hello
The plugin is grate ?? but when the structure is more complex like the buddypress themes have, it wont’ show up the template names.
It shows only the native names, such as single.php, page.php etc.
for example buddy press theme has structure like this:
page.php
single.php
.
.
activity/
activity/loop.php
.
.
.
members/
members/*.php
members/single/
members/single/*.php
and so on
https://www.ads-software.com/extend/plugins/display-template-name/
]]>