Tagged: action, debug, filter, information
-
AuthorPosts
-
January 6, 2015 at 11:23 am #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, 10 months ago by etheravion.
January 6, 2015 at 11:28 am #375596Hey etheravion!
Do you mind creating a temporary admin login and posting it here privately so we can look into it?
Regards,
YigitJanuary 6, 2015 at 11:48 am #375606Hi Yigit,
But it’s on my local machine. How do I provide access?
January 6, 2015 at 11:56 am #375609Hey!
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 itBest regards,
YigitAugust 30, 2015 at 12:57 pm #495454I 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 9 years, 2 months ago by eaonflux. Reason: Fixed some typos
September 1, 2015 at 3:38 am #496185Hi,
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,
RikardSeptember 17, 2015 at 10:57 pm #505160I 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.September 18, 2015 at 12:02 am #505171Hey!
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,
YigitSeptember 18, 2015 at 1:47 am #505186Thank you, this method worked.
September 18, 2015 at 10:04 am #505327 -
AuthorPosts
- The topic ‘Unable to remove avia framework debug information’ is closed to new replies.