Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1054992

    I have search all related posts and try it, including:

    if(!function_exists(‘avia_debugging_info’)){
    function avia_debugging_info() {
    //
    }
    }

    Non can remove the debugging info:

    Debugging Info for Theme support:

    Theme: Enfold
    Version: 4.5
    Installed: enfold
    AviaFramework Version: 4.7
    AviaBuilder Version: 0.9.5
    aviaElementManager Version: 1.0.1
    ML:256-PU:48-PLA:4
    WP:4.9.9
    Compress: CSS:all theme files – JS:all theme files
    Updates: disabled
    PLAu:4

    Please tell me what to do..

    #1055102

    Hey yundian,

    Please try adding this again at the very end of your themes/child theme’s functions.php and it should work for you. file:

    
    // Remove debug
    
    if(!function_exists('avia_debugging_info')){
      function avia_debugging_info() {
        // 
      }
    }
    
    // End function
    

    For more information about adding custom script please check this link.

    Best regards,
    Vinay

    #1055339

    Hello,

    I add the code both in functions.php and functions-enfold.php, but nothing happened…

    The info are still there…

    Just use enfold theme without child themes

    #1055344

    Hi,
    Can you please include a admin login in the private content area so we can be of more assistance.

    Best regards,
    Mike

    #1055383

    Hi,

    It is not convinient to give you my main website
    I can give you my another website which is for just testing, have the same problem
    please find the problem and tell me

    thanks

    #1055458

    Hi,
    Thanks for the login, I removed the function from “functions-enfold.php” and moved the code in “functions.php” to right after:

    if(isset($avia_config['use_child_theme_functions_only'])) return;

    2019-01-18-073505
    It is now working correctly, please note that if you ever want to use the Avia Layout Builder Debugger code, it will also go right after the “use_child_theme_functions_only” statement above.

    Best regards,
    Mike

    #1080570

    Hi,

    I had the issue too that on one specific Enfold installation the Debugging info was still showing, but after adding the above from Vinay mentioned modification to the child’s theme functions.php it finally was removed.

    Is the following solution now deprecated, or what is going on there?

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

    Thanks and best regards
    eC

    #1081115

    Hi,
    To remove the debugging info please use this code in your functions.php:

    	if(!function_exists('avia_debugging_info')){
    		function avia_debugging_info() {
    		
    		}
          } 

    If you are not using a child theme then it will need to go on about line 18, right after this code:

    if(isset($avia_config['use_child_theme_functions_only'])) return;

    I just tested with v4.5.5 and it still works.

    Best regards,
    Mike

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