Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #229094

    I love your theme, but in many areas I hate it :-)
    With any updagte the code is getting bigger and bigger and the Pageload getting worse and worse.

    Can you tell me why in any textbox this one is included? Hell why do wie need this?
    itemtype=”http://schema.org/CreativeWork” itemscope=”itemscope”

    #229373

    Hi hunter74!

    They are use for SEO purposes. You can refer to this link: http://schema.org/

    Anyway, you can remove them by editing js > avia.js. Find this code on line 5:

    $(document).ready(function()
        {

    Below, add this code:

    $(".main_color, .alternate_color, a, img").removeAttr("itemscope", "itemtype", "itemprop");
    

    Or add this on functions.php:

    add_filter('avf_markup_helper_args','avf_remove_markup_helper_args'); 
    
    function avf_remove_markup_helper_args($args) {
    	$args = array_merge(array('context' => '', 'echo' => false, 'post_type' => ''), $args);
    	if(empty($args['context'])) return;
    }

    Best regards,
    Ismael

    #230098

    Thanks for this one, in that case I will leave it (But still not know if it is good for the website and SEO) because a slow website is also not good for Google.

    Anyway I tried many different CSS and JS minifiers and plugins but theyare not working. And the BWPminifier not working.

    One thing – can I remove the querry strings in Javascripts and Css ?? That would change a lot!!
    example, making this:
    http://www.terminal-11.de/_wordpress/wp-content/themes/enfold/config-layerslider/LayerSlider/js/layerslider.transitions.js?ver=4.6.3
    to that:
    http://www.terminal-11.de/_wordpress/wp-content/themes/enfold/config-layerslider/LayerSlider/js/layerslider.transitions.js

    And can I remove certain js or css files which I don´t need?

    —————————————————————————-
    Caching Plugins overview:
    – WP-Cache.com – has the best results for me
    – WP Super Cache – many options noot many results?
    – Better WordPress Minify – makes problems, to minify CSS and JS
    – W3 Total Cache, was the best – for other sites with Enfold but with the Layerslider it makes a bit problems in my newest project
    – WP-Cache.com – has the best results for me!!

    #230918

    Hey!

    You can alter what’s get included in functions.php (avia_register_frontend_scripts function), from line 259 to 294.

    Cheers!
    Josue

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.