• When trying to load Lato font, with only the 100 font weight variant, I discovered that the built-in script enqueue wouldn’t load the 100 variant. Upon further digging, it looks like this line of code needs to be changed:

    functions.php file, line 89, from:
    $fvariants = ”;

    to:
    $f_variants = implode( ‘,’, $font[‘variants’]);

    With this, I’m able to load any/all variants selected, regardless of whether or not “regular” (400) is selected.

    Hope this helps and thanks for a helpful plugin!

  • The topic ‘Variants without Regular Not Loading’ is closed to new replies.