I've created a custom post type called
product. On my theme's product page, I want to be able to show a basic list of images (
ul>li>a>img) on a sidebar like this (quickly googled :P):
I want these images to be shown on the post edit screen with a way to add more, delete and ideally, sort them manually.
So far I tried two approaches that I disliked:
Looping through the post attached images (
get_attached_media( 'image' )). The problem with this is that adding them is quite complex and counter intuitive. (Add Media > Delete the link on post, plus a complicated way of visualizing the images on each product.
Using a native Wordpress gallery. The problem with this is that it requires a tag in the Wordpress theme, the location is therefore configurable and it takes a place on the content flow. I know I could replace it with JS but I rather not.
I'm looking for a native way, custom code or free plugin. Thanks in advance.