• Resolved Zougou

    (@zougou)


    HI,
    My theme use Redux Framework, and I noticed in source code that there are calls loading all font-weight and italic versions , that I don’t need (css file of my theme is already loading the right fonts). These extra calls seems to be coming from redux-framework plugin ( file /redux-framework/redux-core/inc/classes/class-redux-output.php)

    <link rel="preload" as="style" href="<a href="https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900,100italic,200italic,300italic,400italic,500italic,600italic,700italic,800italic,900italic%7CRoboto:100,300,400,500,700,900,100italic,300italic,400italic,500italic,700italic,900italic&display=swap&ver=1634291806" rel="nofollow">https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900,100italic,200italic,300italic,400italic,500italic,600italic,700italic,800italic,900italic%7CRoboto:100,300,400,500,700,900,100italic,300italic,400italic,500italic,700italic,900italic&display=swap&ver=1634291806</a>"/>

    <link rel="stylesheet" href="<a href="https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900,100italic,200italic,300italic,400italic,500italic,600italic,700italic,800italic,900italic%7CRoboto:100,300,400,500,700,900,100italic,300italic,400italic,500italic,700italic,900italic&display=swap&ver=1634291806" rel="nofollow">https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900,100italic,200italic,300italic,400italic,500italic,600italic,700italic,800italic,900italic%7CRoboto:100,300,400,500,700,900,100italic,300italic,400italic,500italic,700italic,900italic&display=swap&ver=1634291806</a>" media="print" onload="this.media='all'">

    Is there a way to avoid these extra calls, without editing redux-framework core file ?
    Or maybe in theme-child ?

    Thanks in advance

    • This topic was modified 3 years, 1 month ago by Zougou.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Avoid extra calls to Google Fonts’ is closed to new replies.