Hi Enfold-Team,
is it possible to remove the following code from the theme without removing the ‘debugging mode’?
!–
Debugging Info for Theme support:
Theme: Enfold
Version: 4.1.1
Installed: enfold
AviaFramework Version: 4.6
AviaBuilder Version: 0.9.5
– – – – – – – – – – –
ChildTheme: Enfold Child
ChildTheme Version: 1.0
ChildTheme Installed: enfold
ML:128-PU:33-PLA:4
WP:4.8
Updates: disabled
–>
And if is possible to remove wp-content/themes/enfold/ the Name from Theme?
Thanks for your help.
Cheers
Sophie
Hey Sophie,
You can edit this info at the style.css in the main folder of the theme.
Best regards,
John Torvik
Hey John,
thank you for your fast reply. I forgot to tell that I am using Enfold child theme and also that I tried a solution from an earlier support topic with same request https://kriesi.at/support/topic/remove-debugging-code-from-page-source/#post-173507, but that does not work.
Can you help?
Kind regards and have a good day!
Sophie
Hi,
I tested adding this code to the end of your functions.php file in Appearance > Editor:
add_action('init','avia_remove_debug');
function avia_remove_debug(){
remove_action('wp_head','avia_debugging_info',1000);
remove_action('admin_print_scripts','avia_debugging_info',1000);
}
and it removed the debug info, do you have a caching plugin that you can clear? Is your host caching your site?
Can you please include a admin login in the private content area so we can take a closer look.
Best regards,
Mike