-
AuthorPosts
-
April 24, 2018 at 5:22 pm #946038
Hi,
up to enfold 4.2.6 it was possible to remove the debugging info.
With 4.3 it is no more possible with the same function.
This was: `add_action(‘init’,’avia_remove_debug’);
function avia_remove_debug(){
remove_action(‘wp_head’,’avia_debugging_info’,1000);
remove_action(‘admin_print_scripts’,’avia_debugging_info’,1000);
}`
We changed the 1000 to 9999999 but without success.
May be a new function?
Regards
BiggyApril 25, 2018 at 7:57 pm #946813April 25, 2018 at 8:29 pm #946847or that ;) https://kriesi.at/support/topic/remove-avia-framework-debug-information/#post-946545
by the way you can alway overwrite via functions.php of child theme if a code starts this way:
if(!function_exists( …
have a look in functions-enfold.php
April 25, 2018 at 8:47 pm #946858Hey Vinay
sorry… and thanks to you.
Please informe Kriesi … enfold 4.3 is really god. We thought…what they can do more.. but you can!
Great work!you can close the topic.
Regards
Biggyby the way: we have one thing different in the sourcecode. Now, without merging the css styles we can see in the head area every layout builder we are using with the css and in the footer every js.
It looks like this:
head area. <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/blog/blog.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider/postslider.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/buttons/buttons.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/comments/comments.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/contact/contact.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow/slideshow.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/contentslider/contentslider.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/gallery/gallery.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/grid_row/grid_row.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/heading/heading.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/hr/hr.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/image/image.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/css/avia-snippet-site-preloader.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/menu/menu.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/social_share/social_share.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/testimonials/testimonials.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/toggles/toggles.css"> <link rel="stylesheet" href="http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/video/video.css"> Footer Area <script type='text/javascript' src='http://www.domain.de/wp-content/themes/enfold/js/shortcodes.js'></script> <script type='text/javascript' src='http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/contact/contact.js'></script> <script type='text/javascript' src='http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow/slideshow.js'></script> <script type='text/javascript' src='http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/gallery/gallery.js'></script> <script type='text/javascript' src='http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio/isotope.js'></script> <script type='text/javascript' src='http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.js'></script> <script type='text/javascript' src='http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/menu/menu.js'></script> <script type='text/javascript' src='http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow/slideshow-video.js'></script> <script type='text/javascript' src='http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.js'></script> <script type='text/javascript' src='http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/testimonials/testimonials.js'></script> <script type='text/javascript' src='http://www.domain.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/toggles/toggles.js'></script>
April 26, 2018 at 4:35 am #947054Hi!
The elements will now load their own scripts and stylesheets because they are no longer combined on a single file. This makes the page lighter because it doesn’t load the resources that it doesn’t need.
Best regards,
IsmaelApril 26, 2018 at 7:40 am #947100Hi Ismael,
Thanks for your response. Great!
Please close the topic.Regards
BiggyMay 16, 2018 at 8:06 am #957368Please close the topic
Regards
BiggyMay 17, 2018 at 6:28 am #957929 -
AuthorPosts
- The topic ‘Debugging Info’ is closed to new replies.