Disable Auto-Sizes
v1.0Mukesh Panchal · 2024年11月27日 上架
A lightweight plugin to disable the automatic addition of the auto value in the sizes attribute for images in WordPress.
- 正在使用
- 50+
- 评分
- 暂无
- 累计下载
- 1,484
- 最近更新
- 2024年11月27日
需要 WordPress 6.7.1+已测试到 6.7.12PHP 7.2.24+
贡献者
The “Disable Auto-Sizes” plugin prevents WordPress from adding the auto keyword to the sizes attribute for images. This ensures full control over the sizes attribute and is useful for advanced customization or debugging.
Features
- Disables the automatic addition of the
autovalue in thesizesattribute for<img>tags. - Lightweight and easy to use.
- Useful for developers and advanced users managing responsive image behaviors.