Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #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?

    #1016583

    Hey 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,
    Rikard

    #1016590

    I’m using hide my Wp plugin, but if I delete the theme info from style.css then I can make updates to the theme?

    #1016596

    Hi,

    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,
    Rikard

    #1016606

    I’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);
    }

    #1016618

    Hey!

    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!
    Peter

    #1016670

    I’ve tried new code but nothing…

    #1016864

    Hi,

    Where can we see the results you are getting?

    Best regards,
    Rikard

    #1016964

    On Isitwp.com

    #1016981

    Hi,

    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,
    Rikard

    #1016982
    This reply has been marked as private.
    #1016988

    i 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.

    #1017002

    Hi 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,
    Rikard

    #1017005
    This reply has been marked as private.
    #1017016

    i 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';
    }
Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.