Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #375590

    Hi there,

    I’ve tried to follow these steps at URL below but still not able to remove the theme debug info. I’m currently still working on localhost.
    http://kriesi.at/documentation/enfold/remove-avia-framework-debug-information/

    I’ve put this code:
    remove_action('wp_head','avia_debugging_info',1000);

    at theme’s functions.php and it didn’t work. I’ve also put it in child theme’s functions.php, didn’t work either. I’m using:
    Wordpress 4.0.1
    Enfold 3.0.4
    Kindly advise. Thanks.

    • This topic was modified 9 years, 3 months ago by etheravion.
    #375596

    Hey etheravion!

    Do you mind creating a temporary admin login and posting it here privately so we can look into it?

    Regards,
    Yigit

    #375606

    Hi Yigit,

    But it’s on my local machine. How do I provide access?

    #375609

    Hey!

    You cannot unless you launch your website. I checked the code once again and it does work totally fine on my local installation.
    Please provide access when you launch your website and we will gladly look into it

    Best regards,
    Yigit

    #495454

    I can’t remove it either???

    When i look at the function-set-avia-front-end.php file, the action tag is wp_head

    so i enter this in mine child theme functions.php
    remove_action ( ‘wp_head’, ‘avia_debugging_info’, 1000 );
    remove_action ( ‘wp_head’, ‘avia_debugging_info’, 99 );
    remove_action ( ‘wp_head’, ‘avia_debugging_info’, 2000 );

    none of them works????

    so i use this instead:
    add_filter ( ‘avf_debugging_info’, ‘__NULL’, 1000 );

    this works fine but still i am curious why the remove_action doesnt work?

    • This reply was modified 8 years, 7 months ago by eaonflux. Reason: Fixed some typos
    #496185

    Hi,

    Not sure why that is not working, you are using an old version of the theme though. Could you try to update to 3.3.2 to see if that helps?

    Thanks,
    Rikard

    #505160

    I am on version 3.3.2 main theme, and cannot remove it either.

    Have remove_action('wp_head','avia_debugging_info',1000); in my enfold-chile theme.

    #505171

    Hey!

    Please add following code to Functions.php file of your child theme instead

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

    Best regards,
    Yigit

    #505186

    Thank you, this method worked.

    #505327

    Hi,

    Great, glad we could help :-)

    Regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Unable to remove avia framework debug information’ is closed to new replies.