Tickets › Tickets › Roneous › How to add more google fonts? › Reply To: How to add more google fonts?
Hi there,
Thanks for writing in!
To resolve this issue, please follow the steps here:
1. Go to Gogole Fonts, and select the font you wish, and go to the link in that font, then copy the font URL (Kanit font: //fonts.gstatic.com/s/kanit/v2/RPQGAQk3DD66RypwKRnBKQ.woff2 for example) as in screenshots here:


2. Open up the tlg_layouts.php file in wp-content/plugins/tlg_framework/includes folder, find code below in the tlg_framework_get_font_options function (at bottom of the file) :
"0" => esc_html__( "(default)", "tlg_framework"),
… and change it into this:
"0" => esc_html__( "(default)", "tlg_framework"),
"Kanit:tlg://fonts.gstatic.com/s/kanit/v2/RPQGAQk3DD66RypwKRnBKQ.woff2:tlg:regular" => esc_html__( "Kanit - regular", "tlg_framework"),
3. After that, you can go to your page editor, and select your new font in there:

Hope this helps,
Danny
