WPIntell

Source evidence

Cannot set ‘async’ to ‘false’!

Adobe Fonts (formerly Typekit) for WordPress · support · 2016-12-07T16:12:00+00:00

mixedsentiment
mediumseverity
0.72relevance
5replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 32 rows with source links

12.5% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
needmoredesigns resolved
As Adobe writes, you should be able to set async to false in order to have the “flash of unstyled text” not appear. http://blog.typekit.com/2015/08/04/new-embed-code-for-asynchronous-font-loading/ However, when I try to change the embed code to false , after saving the settings the plugin has changed it back to true ! I suspect the plugin is trying to save me from doing something wrong here, but this change should be allowed, since as Adobe explains, there is good reason for wanting to change this setting! Hi @needmoredesigns , This plugin only supports using the asynchronous tracking code, which doesn’t block the rendering of the page while fonts are loading. It doesn’t support using a tracking code where async=false. The asyncronouse code is the one that Typekit recommends. If you’d like to control how the FOUT displays, I’d suggest reading this article: https://helpx.adobe.com/typekit/using/font-events.html#ControllingtheFlashofUnstyledTextorFOUTusingfontevents . By adding some CSS to your site, you can have full control over how the text displays before the Typekit font(s) are loaded. Alternatively, if you would like to use a synchronous tracking code, you would have to use an alternate plugin or solution. Thank you for your understanding. James Thanks very much, I appreciate the reply (and the plugin)! I just changed true to false in the source code for now. Something one should never, ever do. 😉 I would also very much like the option to set async to false. I’m also reduced to editing the plugin source code, which is a terrible solution. Defaulting it to true or showing a warning when you try to set it false seems reasonable, but locking me into async is pushing me away from this plugin. Hi @needmoredesigns & @oscarmondo , We have just released a new version of the plugin, which allows you to set async to false. If you update to version 1.8.4, you’ll now be able to set async to false without needing to edit the plugin’s source code. James That’s fantastic! Thank you!

Comments

5 shown
James Collins 2016-12-08T06:50:00+00:00

Hi @needmoredesigns , This plugin only supports using the asynchronous tracking code, which doesn’t block the rendering of the page while fonts are loading. It doesn’t support using a tracking code where async=false. The asyncronouse code is the one that Typekit recommends. If you’d like to control how the FOUT displays, I’d suggest reading this article: https://helpx.adobe.com/typekit/using/font-events.html#ControllingtheFlashofUnstyledTextorFOUTusingfontevents . By adding some CSS to your site, you can have full control over how the text displays before the Typekit font(s) are loaded. Alternatively, if you would like to use a synchronous tracking code, you would have to use an alternate plugin or solution. Thank you for your understanding. James

needmoredesigns 2016-12-08T14:12:00+00:00

Thanks very much, I appreciate the reply (and the plugin)! I just changed true to false in the source code for now. Something one should never, ever do. 😉

oscarmondo 2017-03-16T18:49:00+00:00

I would also very much like the option to set async to false. I’m also reduced to editing the plugin source code, which is a terrible solution. Defaulting it to true or showing a warning when you try to set it false seems reasonable, but locking me into async is pushing me away from this plugin.

James Collins 2017-06-21T06:21:00+00:00

Hi @needmoredesigns & @oscarmondo , We have just released a new version of the plugin, which allows you to set async to false. If you update to version 1.8.4, you’ll now be able to set async to false without needing to edit the plugin’s source code. James

needmoredesigns 2017-06-21T17:38:00+00:00

That’s fantastic! Thank you!