FetchPriority Featured Image

Mô tả

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

  • Automatically adds fetchpriority="high" to featured images
  • Intelligently applies the attribute only where it matters most:
    • On single posts and pages
    • On the first post of archive pages, blog home, and search results
  • Zero configuration required – install and activate
  • No settings page to keep things simple and lightweight
  • Compatible with most WordPress themes

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:

  • Largest Contentful Paint (LCP) scores
  • User experience with faster loading of important images
  • Overall page performance

Developer-Friendly

The plugin uses WordPress’s native filters and doesn’t modify your database or image files.

Cài đặt

  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

Hỏi đáp

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.

Đánh giá

Không có đánh giá nào cho plugin này.

Người đóng góp & Lập trình viên

“FetchPriority Featured Image” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

1.0.0

  • Initial release