-
AuthorPosts
-
October 1, 2018 at 10:40 am #1016544
Hi, i’ve removed debug info in theme’s functions.php but but still the debug info is not being removed.
If I check my website on ISITWP, the theme’s name is still visible.
What can I do?October 1, 2018 at 12:12 pm #1016583Hey brand,
I’m not sure how that test works exactly, but one way to find out would be to go to http://your.site/wp-content/themes/enfold/style.css, that would reveal that you are using Enfold for instance.
Best regards,
RikardOctober 1, 2018 at 12:23 pm #1016590I’m using hide my Wp plugin, but if I delete the theme info from style.css then I can make updates to the theme?
October 1, 2018 at 12:31 pm #1016596Hi,
If you alter the name in the parent theme then you will likely have problems with automatic updates yes, but you can always use a child theme? Why is this so important for you to hide?
Best regards,
RikardOctober 1, 2018 at 12:51 pm #1016606I’ve added any days ago this code in function.php, but doesn’t work.
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);
}October 1, 2018 at 1:36 pm #1016618Hey!
Please try this code instead:
add_action('init','avia_remove_debug'); function avia_remove_debug(){ remove_action('wp_head','avia_debugging_info',9999999); remove_action('admin_print_scripts','avia_debugging_info',9999999); }
Cheers!
PeterOctober 1, 2018 at 4:03 pm #1016670I’ve tried new code but nothing…
October 2, 2018 at 5:34 am #1016864October 2, 2018 at 10:49 am #1016964On Isitwp.com
October 2, 2018 at 11:28 am #1016981Hi,
Yes you mentioned that thanks, so we can test any site we like or should we test yours specifically? Can I ask again why this is so important to hide?
Best regards,
RikardOctober 2, 2018 at 11:32 am #1016982This reply has been marked as private.October 2, 2018 at 11:39 am #1016988i do not know the other codes – i use it – when i need it:
if(!function_exists('avia_debugging_info')){ function avia_debugging_info() { // } }
is that obsolete? – No it still works – tested it few minutes ago (refresh all caches and merging in Enfold)
you can get rid of every function or overwrite it in your child-theme functions.php when it starts in original source code with:
if(!function_exists('…'))
by the way there was a filter to rename the Theme and child-theme :
/** All of the Styling options you set in the theme’s Styling options get saved to a file in your uploads folder / dynamic_avia called enfold.css.
If you have changed the theme name or something like that you may want to re-name this file to better reflect your own branding ( :LOL dear Brand). You can use the following function to do just that: */add_filter('avia_dyn_stylesheet_file_path', 'avia_change_filename'); function avia_change_filename($stylesheet){ return 'myfilename.css'; }
___________ offtopic ___________
So – I don’t mind that my customers know which WordPress theme I’m using. On the contrary, a theme that is so well distributed and has a strong community is more of a good selling point.
Of course, if you want to present the beautiful styles and layout possibilities as your own achievements, branding is a hindrance.
For my part, I recognize an enfold page even without branding at first glance in the source code. The classes and IDs are so clear that you have to invest a lot of work to obfuscate a topic there.October 2, 2018 at 12:00 pm #1017002Hi brand,
We obviously need a URL to your website to be able to test it. We can’t know what that test actually does though, and removing all references to the theme everywhere will likely be difficult.
Best regards,
RikardOctober 2, 2018 at 12:03 pm #1017005This reply has been marked as private.October 2, 2018 at 12:38 pm #1017016i did it here : but why ?
even if you are going to the well known style.css path of the renamed theme folder – there will be only Guennis Infos.
https://webers-testseite.de/neu/datenschutz/by the way this is only neccessary if you are not working with a child-theme
add_filter('avia_dyn_stylesheet_file_path', 'avia_change_filename'); function avia_change_filename($stylesheet){ return 'myfilename.css'; }
-
AuthorPosts
- You must be logged in to reply to this topic.