• Hi there,

    is there a way to choose the right “order” of CSS Critical Path? I mean: I would like to include it after <title> and not before.

    Is it possible?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Frank Goossens

    (@futtta)

    yeah, with a couple of lines of code against the AO API;

    add_filter('autoptimize_filter_css_replacetag','daweb_css_replacetag',10,1);
    function daweb_css_replacetag($replacetag) {
    	return array("</title>","after");
    	}

    hope this helps,
    frank

Viewing 1 replies (of 1 total)
  • The topic ‘Css Critical Path order’ is closed to new replies.