WordPress.org

Support

Support » Plugins and Hacks » Typekit Fonts for WordPress » [Resolved] [Plugin: Typekit Fonts for WordPress] Incorrect Javascript parsing.

[Resolved] [Plugin: Typekit Fonts for WordPress] Incorrect Javascript parsing.

  • The plugin incorrectly attempts to match the current Javascript embed code from Typekit. I’m looking at the code


    <script type="text/javascript" src="//use.typekit.net/XXXXXX.js"></script>
    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>

    That’s “.net” rather than “.com”, and with no http(s?): in front of it. Munging the code by hand to match the plugin’s regexp seems to work.

    http://wordpress.org/extend/plugins/typekit-fonts-for-wordpress/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Typekit Fonts for WordPress] Incorrect Javascript parsing.’ is closed to new replies.
Skip to toolbar