Linux 软件免费装
Banner图

Defer for Contact Form 7

开发者 ryabininvitaliy
freemius
更新时间 2026年9月13日 14:37
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

performance contact form 7 cf7 pagespeed defer

下载

1.1.0 1.0.0

详情介绍:

On every page Contact Form 7 loads its dependencies (wp-hooks, wp-i18n) and its CSS into the <head>, blocking first paint. This plugin fixes that: Both optimizations are idempotent and safe on every page. Strict dependency: with Contact Form 7 inactive, the plugin does nothing. A note on jQuery This plugin does NOT defer jQuery — on purpose. Deferring jQuery is only safe when EVERY jQuery-dependent script on the site is also deferred or in the footer; on an arbitrary site that is not guaranteed and breaks inline scripts in the head.

安装:

  1. Upload the defer-for-contact-form-7 folder to /wp-content/plugins/, or install the ZIP via Plugins → Add New → Upload.
  2. Activate the plugin. Contact Form 7 must be active.
  3. Both optimizations are on by default — there is nothing else to configure.
  4. To toggle them, go to Contact → Performance.

常见问题:

Does this work with caching/optimization plugins?

Yes, but minifiers that combine and reorder scripts can interfere with the head→footer move. Test with your cache plugin enabled.

Does the plugin send any data anywhere?

No. It makes no external requests and stores no personal data.

Does this support Yandex SmartCaptcha?

Yes, in the Pro version — as an alternative to Google reCAPTCHA v3. Choose the provider under Contact → Performance; only one is active at a time.

更新日志:

1.1.0 1.0.0