Support » Plugin: Autoptimize » How to serve resources from a consistent url

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

    (@optimizingmatters)

    you’ll probably have to toggle a filter to tell AO it’s OK to put fonts on the CDN too;

    
    add_filter('autoptimize_filter_css_fonts_cdn','__return_true');

    hope this helps,
    frank

    qwik3r

    (@qwik3r)

    Thanks. I assume this has to be added to my functions file? If I turn off the plugin will it break the site if that is in the file?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    functions.php or using e.g. the code snippets plugin.

    if you turn AO off, the code will not generate errors, the code will be useless but very quiet and a bit sad 😉

    qwik3r

    (@qwik3r)

    lol thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to serve resources from a consistent url’ is closed to new replies.