-
AuthorPosts
-
July 29, 2019 at 9:37 pm #1122954
Hi,
this snippet from @yigit does not work anymore with ENFOLD 4.5.7, although I have activated this function, the debug info is still shown in the source code. I know, that it has worked perfectly some versions before:
https://kriesi.at/support/topic/debugging-info-for-theme-support/#post-768947function avia_remove_debug() { remove_action('wp_head','avia_debugging_info',1000); } add_action( 'init', 'avia_remove_debug');Any changes for this snippet please, that work?
NOTE: I DO NOT USE A CHILD THEME !
Thank you.July 30, 2019 at 9:19 pm #1123307Hey COLORIT,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Best regards,
BasilisJuly 31, 2019 at 11:41 am #1123521don’t know, why you need it, my site is not online, but you can check this snippet at your own demo installation and you will see, too, that the snippet of @yigit does not work, thanks.
August 2, 2019 at 3:54 am #1124014Hi,
Thank you for the update.
You can replace the old snippet with the following code.
function ava_remove_debug() { remove_action('wp_head','avia_debugging_info',9999999); remove_action('admin_print_scripts','avia_debugging_info',9999999); } add_action( 'after_setup_theme', 'ava_remove_debug');Best regards,
IsmaelAugust 2, 2019 at 5:36 pm #1124212great, that works fine, thanks a lot, Ismael!
August 2, 2019 at 7:20 pm #1124229Hi,
Im glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Snippet for removing debug info from source code view does not work anymore’ is closed to new replies.
