I want to create galleries for my posts working like this :
- I choose pictures in wordpress post-new page and upload them
- Wordpress creates an array of those images uploaded
- And finally i use that array and put gallery into my single.php file
Actually woocommerce is using the exact thing as you see in the picture ( sorry i didn't have English wordpress installed )
any suggestions?
you can use the default gallery behavior to your need
Insert a gallery in tour post, it will create a shortcode like
override the default gallery shortcode function to not display it in your post
retrieve an array of images ids