Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #946544

    Since Enfold 4.3 the procedure in this link does not work anymore. However, due to security aspects I would like to remove this debugging info. How does this work under Enfold 4.3?

    #946545

    put this into your functions.php of your child-theme:

    if(!function_exists('avia_debugging_info')){
      function avia_debugging_info() {
        // 
      }
    }
    #946669

    Hi,

    @Genni007 Thank you for sharing this tip

    Let us know if you need any further help :)

    Best regards,
    Vinay

    #947109
    if(!function_exists('avia_debugging_info')){
      function avia_debugging_info() {
        // 
      }
    }

    I tried to put that in function.php , but didn’t work , the debug info still shown in the source page,
    any suggestion ?
    Using enfold 4.3 , wp 4.9.5

    Thanks

    EDITED :
    Sorry i think i found it
    i delete the code in /themes/enfold/framework/php/function-set-avia-frontend.php line 1379 – 1380

    add_action('wp_head','avia_debugging_info',9999999);
    	add_action('admin_print_scripts','avia_debugging_info',9999999);

    is that affect to others fuction ? but the debug info is not shown in source page right now

    thanks

    • This reply was modified 6 years, 7 months ago by sempelouse.
    #947113

    Sorry for my new question: you did that code to funcitions.php of parent theme?
    Than it is probably important where you inserted it – that is why i wrote:

    put this into your functions.php of your child-theme

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