Hi @karlaberg
Just to confirm: you haven’t clicked publish in the customizer since upgrading? You have upgraded the plugin and have made no changes in the customizer and it has stopped working?
Thread Starter
Anonymous User
(@anonymized-18195298)
@sunny_johal No, I did click publish once. I was trying to see whether it worked when I manually set one of the fonts.
Will that have overwritten my old options? If so, I could use pointers for extracting my old settings from a backup of the WP database. I don’t know what they all were (tsk tsk on me).
Thanks.
Hi @karlaberg
Are you using some sort of caching plugin on your site?
Thread Starter
Anonymous User
(@anonymized-18195298)
No. The closest thing would be Autoptimize. But I’ve cleared the cache and turned that off, and the result is no different.
Hi @karlaberg
Can you upgrade and let me know if you still have an issue. There seems to be something (like a caching plugin) that is preventing our plugin from outputting any styles or the stylesheet. If it doesn’t work please send me an email to support[at]titaniumthemes.com and we can take it from there. Thanks
@sunny_johal I have this problem too –
Settings were lost after update to 2.0: Font control selectors are still present in Settings > Easy Google Fonts, but styles in Appearance > Customize > Typography > Theme Typography were all reset to blank or “theme default.”
Problem not resolved by updating to 2.0.1 but I had to fix the website ASAP so I entered all the missing values again manually.
I’ve since created a staging website so that I can test updates there, before committing to the live site. On the staging site, update to Version 2.0.3 has again resulted in styles in Appearance > Customize > Typography > Theme Typography all being reset to blank or “theme default.”
Hi @cobberas63
The issue was that the new version of the plugin (prior to 2.0.3) didn’t preserve legacy font control ids resulting in a fallback to the default when the plugin tried to output styles on the frontend.
Version 2.0.3 fixed support for older font controls (preserving these ids) but because you had entered the values again manually it is falling back to the default.
If you make the changes now it will stay that way going forward (even with all future updates).
Thanks
@karlaberg
It is looking like the autooptimize plugin is stripping the stylesheet and inline styles from being loaded on the frontend. In your wordpress admin area can you go to:
- Settings > Autooptimize
- Click the extra tab
- Under Google fonts make sure you select ‘Leave as is’
- Save changes
Let me know how you get on. Cheers
Sunny
Thread Starter
Anonymous User
(@anonymized-18195298)
@sunny_johal Thanks for all the help. Updating to 2.0.3, changing the Autoptimize setting for Google Fonts as advised, clearing the cache, and reloading everything does not fix it.
Do I need to manually re-enter font settings at this point? If so, can you advise how to read the old font settings in a backup of the WP database? I do not have them saved elsewhere. Thank you.
@karlaberg
The options for this plugin are in the wp_options
(or whatever prefix_ you used for your install) with the option name column as tt_font_theme_options
A better way to see the settings would be to output the options in an error_log file.
As this is getting a bit more advanced and is specific to your use case, could you send me an e-mail to support@titaniumthemes.com and we’ll take it from there 👍
-
This reply was modified 3 years, 11 months ago by
Sunny Johal.
Thread Starter
Anonymous User
(@anonymized-18195298)
@sunny_johal That was what I needed. Was able to recover the settings from an old backup, and all appears to be fine now. Thanks for the help.
Great, thanks for letting me know. I was wondering if you could leave a review when you get a moment please. Thanks