Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #238448

    Hello,

    I am currently using Cloudflare (www.cloudflare.com), as a CDN and I was wondering if there was any way to remove the version string on the Entypo-Fontello.woff file, as I believe it isn’t being cached due to this string.

    I’ve linked a screenshot of what I am referring to:
    http://tinypic.com/r/2emisr8/8
    I am referring to the ” ?v=2 ”

    Kind Regards,
    Cam

    #239223

    Hey!

    Please insert this code into your child theme functions.php or into enfold/functions.php (at the very bottom of the file):

    
    add_filter('avf_default_iconfont','avia_change_default_icon_font_para', 10, 1);
    function avia_change_default_icon_font_para($fonts)
    {
    $fonts['entypo-fontello']['append'] = '';
    return $fonts;
    }
    

    Regards,
    Peter

    #239273

    That worked perfectly, thank you so much!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Removing Entypo font version string’ is closed to new replies.