Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #418303

    I’ve created a child theme already and removed just about every instance of the theme name in my source code. My issue is, however, that I have debugging mode enabled so I can wrap geo-targeting shortcodes around certain areas in my Advanced Layout Builder. This is causing the source code to show the theme name for “debugging.”

    Is there any way I can remove this aside having to toggle debugging on and off through CSS?

    <!--
    Debugging Info for Theme support: 
    
    Theme: Enfold
    Version: 3.1.1
    Installed: xxxxxxxxx
    AviaFramework Version: 2.1
    AviaBuilder Version: 0.8
    - - - - - - - - - - -
    ChildTheme: xxxxxxxxx Child
    ChildTheme Version: 2015.03.18
    ChildTheme Installed: xxxxxxxxx
    
    ML:128-PU:68-PLA:24
    WP:4.1.1
    Updates: enabled
    -->
    #418727

    Hey dmoravec!

    Please add following code to Functions.php file of your child theme in Appearance > Editor

    function avia_remove_debug() { 
    remove_action('wp_head','avia_debugging_info',1000); 
    } 
    add_action( 'init', 'avia_remove_debug');

    Cheers!
    Yigit

    #420290

    Worked and no side effects!

    Thanks!

    #420354

    Hi!

    Glad we could help you. Enjoy the theme and feel free to come back with further questions and/or problems you have.

    Best regards,
    Günter

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.