该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Dynamic CSS URLs for Flywheel CDN

描述

THIS PLUGIN WILL ONLY WORK IF YOU ARE USING FLYWHEEL HOSTING AND THE FLYWHEEL CDN ADD-ON.

The problem: If you use a plugin that generates dynamic CSS (for example a page builder), the Flywheel CDN add-on will not update any URLs referenced in the dynamically generated CSS. For example, a background image would use your default domain path rather than the CDN domain path.

The solution: This plugin re-writes URLs that are loaded by the WordPress wp_get_attachment_image_src function so that they are forced to use the CDN path instead.

安装

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. That’s it! There are no settings to configure. The plugin will automatically use your global CDN path that Flywheel Sets.

常见问题

Will this work for other hosts

No.

How do I configure the plugin

The plugin will automatically use the global WP_STACK_CDN_DOMAIN and is configuration free.

评价

此插件暂无评价。

贡献者及开发者

“Dynamic CSS URLs for Flywheel CDN” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.1.0

  • Checked compatibility with Gutenberg.

1.0.0

  • Initial release.