Add this in Themler as option in settings (to be able to switch on / off) and it will help your Users and spare you huge amount of support questions.
This is for WordPress. It gives on frontend and in Themler backend window in the bottom right corner name of template file currently used on this page.
// Shows file name at right down corner
function whatever(){
function tp_template_name() {
global $template;
$html = '<div style="font-family: sans-serif; background: yellow; z-index: 99999; position: fixed; bottom: 0; right: 0; padding: 5px 25px; font-size: 18px; color: black; ">';
$html .= basename($template);
$html .= '</div>';
echo $html;
}
if (is_user_logged_in()) {
add_action('wp_footer' , 'tp_template_name');
}
}
add_action( 'init', 'whatever' );
Add this in Themler as option in settings (to be able to switch on / off) and it will help your Users and spare you huge amount of support questions.
This is for WordPress. It gives on frontend and in Themler backend window in the bottom right corner name of template file currently used on this page.
----------------------------------------------------
// Shows file name at right down corner
function whatever(){
function tp_template_name() {
global $template;
$html = '<div style="font-family: sans-serif; background: yellow; z-index: 99999; position: fixed; bottom: 0; right: 0; padding: 5px 25px; font-size: 18px; color: black; ">';
$html .= basename($template);
$html .= '</div>';
echo $html;
}
if (is_user_logged_in()) {
add_action('wp_footer' , 'tp_template_name');
}
}
add_action( 'init', 'whatever' );
Vote to pay developers attention to this features or issue.