Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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
    Biggy

    #946813

    Hey Biggy,

    Please refer to this link to remove debug info

    Best regards,
    Vinay

    #946847

    or 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

    #946858

    Hey 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
    Biggy

    by 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>
    #947054

    Hi!

    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,
    Ismael

    #947100

    Hi Ismael,
    Thanks for your response. Great!
    Please close the topic.

    Regards
    Biggy

    #957368

    Please close the topic

    Regards
    Biggy

    #957929

    Hi,

    Thanks for that. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Debugging Info’ is closed to new replies.