waughj/wp-upload-picture
Composer 安装命令:
composer require waughj/wp-upload-picture
包简介
Class for autogenerating picture tag HTML for WordPress media image with just the ID.
README 文档
README
Class for autogenerating picture tag HTML for WordPress media image with just the ID. Works just like WPUploadImage, but without the need for giving a $sizes string ( since the whole point o’ a picture tag is to be responsive ) & creates an HTMLPicture object ’stead o’ just an HTMLImage object.
Error handling works just as it does for WPUploadImage. Look up its documentation for mo’ information.
Changelog
0.5.0
- Implement WPUploadImage's WPMissingMediaIDException Error Handling
0.4.0
- Update Error Handling
0.3.0
- Add Ability to Easily Cancel Showing Versioning
0.2.0
- Make Compatible with New HTMLPicture Interface
0.1.0
- Initial Release
统计信息
- 总下载量: 114
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: AGPL-3.0-or-later
- 更新时间: 2018-12-28