AOC Multiple Post Images
v0.4ankittiwaari · 2018年5月16日 上架
AOC Multiple Post Images allows a user to upload multiple featured images to a post.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 1,965
- 最近更新
- 2019年9月4日
需要 WordPress 4.6+已测试到 5.2.31PHP 5.2.4+
贡献者
This plugin aims at providing users the capability to upload multiple thumbnails/featured images to a post. It uses wp.media js object to open a image uploader frame and choose/upload images. Once the images are selected, it will save the id of uploaded media object in a custom field.
Getting uploaded images
You can use the function aoc_get_images($post_id) to retrieve an array of urls of all the images that have been uploaded to a post. This function accepts the id of post (for which the images are to be fetched) as a parameter.