• Closed
  • Peer Wandiger
    Spectator
    April 18, 2018 at 11:15 am #36722

    How can I disable the google font implementation in the evolve+ theme completely?

    I want to host the google fonts local on my server, but before that I need to clear the code of the calls to https://fonts.googleapis.com and so on.

    I also want to get rid of this code: <script data-cfasync=”false” type=”text/javascript”>WebFontConfig={google:{families:[‘Roboto’] },classes:false, events:false, timeout:1500};(function() {var wf = document.createElement(‘script’);wf.src=’https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js&#8217;;wf.type=’text/javascript’;wf.defer=’true’;var s=document.getElementsByTagName(‘script’)[0];s.parentNode.insertBefore(wf, s);})();</script>

    The reason to host the font local ist the coming EU GDPR.

    Priyank
    Spectator
    Posts: 747
    April 18, 2018 at 1:50 pm #36724

    Hello

    Please follow below setting for how to upload custom fonts: https://theme4press.com/guide/docs/custom-fonts-premium-only/

    There is no option which remove google font link, you need to customize for remove link.

    For manually remove google font include script, follow below path:
    File path: wp-content\plugins\redux-framework\ReduxCore\framework.php
    Line number around: 1702
    Disable lines as show in screenshot: http://prntscr.com/j6uvdo

    Thank you