• Resolved DaanvandenBergh

    (@daanvandenbergh)


    Hi!

    I’m the developer of OMGF (and OMGF Pro) and recently one of my clients approached me about a conflict between OMGF Pro and Smart Slider 3, and I’d love to provide compatiblity with your plugin. ??

    My plugin captures any requests to Google Fonts’ servers (fonts.googleapis.com) and stores the fonts on the server.

    OMGF Pro has an option to detect Google Fonts loaded through Webfont Loader. It parses the WebFontConfig object for requested fonts and variations and removes the WebFontConfig afterwards.

    However, on pages using Smart Slider 3, it seems to break the JS code. So, I was wondering: is there a way to disable WebFont Loader in Smart Slider 3? And preferably use regular Google Fonts requests (e.g. https://fonts.googleapis.com/css?family=Blabla)?

    I couldn’t find an option, but maybe there’s a filter or action I could use to make OMGF Pro compatible with SS3?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nextendweb

    (@nextendweb)

    Hi @daanvandenbergh,
    we are dropping that Google Font implementation in version 3.5. Probably it will be released on the next week.

    I red through your plugin description and I think Smart Slider itself will be compatible only with the pro version of your plugin as we do not simply enqueue the Google fonts. Does your plugin have a public api in the free version where could hook the Google fonts for free users too?

    Please contact with me at [email protected] to discuss the details. Thank you!

    Thread Starter DaanvandenBergh

    (@daanvandenbergh)

    Ah, let’s see how the new release works out then! And yes, you’re right about your plugin only being compatible with the Pro version.

    Yes, the free version has a public API to which you can simply send a Google Fonts URL and it’ll take care of downloading it and generating a stylesheet.

    I’ll wait for the update, test it, and see how that works out. If some things need to be tweaked, I’ll contact you guys!

    Thanks for the prompt response!

    Plugin Author Nextendweb

    (@nextendweb)

    @daanvandenbergh, I tried it, but the free version of OMGF was not able to catch the Google font injected by Smart Slider.

    As not every page/post contain sliders, we inject stylesheets and scripts with an output buffer as needed. Your free version only parse through the enqueued styles for Google fonts, so it is not able to catch ours.

    If you give me a private pro access, I can give it a try to see if it works or not.

    Also I’m open to find solution to support your free version with a custom hook. Our limits are that we can not wp enqueue the Google fonts and we can only tell the Google fonts url after the wp_footer done. Probably you use output buffer in your pro version, but for this case you should use that too in the free version.

    Thread Starter DaanvandenBergh

    (@daanvandenbergh)

    I’m okay with your plugin just being compatible with the Pro version. It happens ??

    I’ll wait for the next release and do some testing. I’ll contact you guys whenever I run into something I can’t solve myself.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disable Webfont Loader?’ is closed to new replies.