Mô tả
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
Cài đặt
- Upload the
noble-vitalsfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to ‘Noble Vitals WP’ in your admin menu to configure settings.
Hỏi đáp
-
Does this plugin use regex to modify images?
-
No! We use WordPress’s native
wp_content_img_tagfilter 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_Providerand integrate directly with WordPress’s built-in sitemap system.
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“Noble Vitals” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Noble Vitals” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.0.0
- Initial release
- LCP image optimization
- Native image sitemap generation