• Resolved valuewordpress

    (@valuewordpress)


    Hey there,
    I have used autooptimize on two pages: http://www.valuedach.de and http://www.freiburger-botschaft.eu. On both pages a connection to maxcdn.bootstrapcdn.com is permantly established. I want stop the pages from loading a connection to maxcdn.bootstrapcdn.com.
    I am not sure if this caused by autooptimize, but maybe it is. Any idea how I can solve this isseu?
    Best,
    Tilman

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    I see it on valuedach.de, but not on freiburger-botshaft.eu actually. It is not caused or added by AO, but it is loaded because of this line in your pages source HTML;

    
    <link rel='stylesheet' id='font-awesome-css'  href='//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css?ver=4.3.0' type='text/css' media='all' />

    You can remove it by dequeueing it, cfr. info you can find here for example (can’t vouch for it being 100% correct, but it at least describes what you need to do).

    hope this helps,
    frank

    Thread Starter valuewordpress

    (@valuewordpress)

    Thx for getting back so quickly. I already tried the description the link, but it does not seem to work and I don’t know what else to do 🙁 🙁 :(. Any other ideas? I would appreciate that very much!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, the best thing to do would be to systematically disable and re-enable plugins one at a time (and optionally briefly switch themes) to see which one is adding that CSS and once you know that ask the developer of said plugin how to stop that from happening.

    in the mean time you _could_ try this code snippet (which is a hack really, dequeuing is way better);

    add_filter('autoptimize_filter_css_removables','remove_maxcdn_css');
    function remove_maxcdn_css($in) { return $in.", maxcdn.bootstrapcdn.com/font-awesome"; }

    frank

    Thread Starter valuewordpress

    (@valuewordpress)

    Hey Frank,
    thank you very much for your help! I finally found the plugin, that created the mess: DK 7 PDF. I hope they update the settings soon.
    The plugin String Locator was very helpful to find the wrong code.
    Best

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    great find Tilman (both the culprit plugin and the “string locator”-plugin 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘maxcdn.bootstrapcdn.com’ is closed to new replies.