Linux 软件免费装
Banner图

FetchPriority Featured Image

开发者 gunjanjaswal
更新时间 2025年11月3日 14:12
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

performance images featured-image web-vitals fetchpriority

下载

1.0.0

详情介绍:

FetchPriority Featured Image is a lightweight plugin that automatically adds the fetchpriority="high" attribute to featured images on your WordPress site. This helps browsers prioritize the loading of these important images, improving your site's performance and Core Web Vitals scores. Key Features Why Use FetchPriority? The fetchpriority attribute is a modern web standard that tells browsers which images should be prioritized during page load. By marking featured images as high priority, you can improve: Developer-Friendly The plugin uses WordPress's native filters and doesn't modify your database or image files.

安装:

  1. Upload the fetchpriority-featured-image folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. That's it! The plugin works automatically with no configuration needed

升级注意事项:

1.0.0 Initial release of the plugin.

常见问题:

Does this plugin modify my images?

No, this plugin only adds an HTML attribute to the image tag. It doesn't modify your actual image files or database entries.

Will this work with my theme?

This plugin should work with any theme that uses WordPress's standard featured image functions. If your theme uses custom code to display featured images, the plugin might not affect those images.

Do I need to configure anything?

No, the plugin works automatically once activated. There are no settings to configure.

Will this slow down my site?

No, the plugin adds minimal overhead and should actually improve your site's performance by helping browsers prioritize important images.

How can I verify it's working?

You can view the HTML source of your pages and look for fetchpriority="high" in the featured image HTML.

更新日志:

1.0.0