Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
chrisada
tagDiv Member

I believe the theme probably want to include all the available Google Fonts, of which there are 802 now. (It was probably 732 when the theme was first developed.

It is such a simple thing to do, so I hope we see it in following updates.

chrisada
tagDiv Member

Sorry, but that is not the right answer at all!

We are talking about Google Fonts here, not custom fonts. The way that these fonts get included in the theme is just by having a list of them, not by actually shipping them as part of the theme.

After some digging, I found the list in \include\wp_booster\td_fonts.php which looks like this:

//google fonts
static $font_names_google_list = array (
1 => ‘ABeeZee’,
2 => ‘Abel’,
3 => ‘Abril Fatface’,
4 => ‘Aclonica’,
5 => ‘Acme’,

728 => ‘Tenali Ramakrishna’,
729 => ‘Tillana’,
730 => ‘Timmana’,
731 => ‘Vesper Libre’,
732 => ‘Yantramanav’
);

All I had to do is add the 2 fonts I wanted as item 733 and 734, and they are available to be selected in the drop-down list. I can then select them as with other Google Fonts, and they work without a hitch.

chrisada
tagDiv Member

Hi Andrei,

That fixed it for me. The plugin that seem to be causing the problem is https://wordpress.org/plugins/async-js-and-css/ It doesn’t seem to work very well with recent WordPress versions.

Thanks for the quick response!

Chrisada

Viewing 3 posts - 1 through 3 (of 3 total)