Noble Vitals

描述

Noble Vitals is a lightweight, performance-optimized plugin designed to improve your Core Web Vitals, specifically LCP (Largest Contentful Paint), and generate native image sitemaps.

⚡ LCP Image Optimization

Automatically optimizes your content images to improve LCP scores:
* Adds fetchpriority="high" to your LCP image(s)
* Sets loading="eager" for LCP images
* Keeps lazy loading for all other images (configurable)
* Uses WordPress’s wp_content_img_tag filter for safe DOM manipulation
* Only runs on singular posts/pages and main query

🗺️ Native Image Sitemap

Generates an image sitemap using WordPress’s built-in Sitemaps API:
* No custom XML generation – uses core WordPress functionality
* Includes featured images from your posts and pages
* Configurable which post types to include
* Adds proper Google image sitemap namespace
* Optimized database queries for maximum performance

安裝

  1. Upload the noble-vitals folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to ‘Noble Vitals WP’ in your admin menu to configure settings.

常見問題

Does this plugin use regex to modify images?

No! We use WordPress’s native wp_content_img_tag filter introduced in WordPress 5.5, which is the safe and recommended way to modify content images.

Can I optimize more than one image?

Yes! You can configure how many images to optimize in the plugin settings.

Is the image sitemap using WordPress’s native API?

Absolutely! We extend WP_Sitemaps_Provider and integrate directly with WordPress’s built-in sitemap system.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Noble Vitals” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Noble Vitals 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.1

  • Version bump to 1.0.1
  • Minor code optimizations and compatibility updates