This plugin allow to upload multiple images for posts, pages or custom post. easy to enable/disable image upload option in post, page and custom post type. Also you can arrange images order using drag and drop.
This function can be called from any template file to get attached images for the page/post being viewed.
It returns an array of the attached image URL or attached ID.
It take only one argument and it is default:
- post_id (integer) to get images linked to a specific post or default take current post images
- Upload plugin to the
- Activate the plugin through the ‘Plugins’ menu in WordPress