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

    Dear Supporter!
    Please tell me how to add subset vietnamese to enfold like this
    <link href=’http://fonts.googleapis.com/css?family=Open+Sans&subset=latin,vietnamese&#8217; rel=’stylesheet’ type=’text/css’>
    Thanks a lot!
    Ha Vu

    #365486

    I found my self
    //write the link tag with the $this->google_fontlist
    function link_google_font()
    {
    if(empty($this->google_fontlist)) return;

    $this->extra_output .= “\n<!– google webfont font replacement –>\n”;
    $this->extra_output .= “<link rel=’stylesheet’ id=’avia-google-webfont’ href=’//fonts.googleapis.com/css?family=”.apply_filters(‘avf_google_fontlist’, $this->google_fontlist).”&subset=latin,vietnamese”.”‘ type=’text/css’ media=’all’/> \n”;
    }
    In framework/php/class-style-generator.php
    Thanks!

    #365494

    Hey!

    Glad you figured it out and thanks for sharing your solution! Let us know if you have any other questions or issues

    Cheers!
    Yigit

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.