Multiple featured images
In WordPress you can set a “featured image”. I need to add multiple featured images dynamically.
Dynamically number of featured images
When I say dynamically I mean, for one post I might want 2 images and for the next one 6 featured images. The number is unknown.
Just loop them out, when done
When in the theme I just loop them out with a foreach loop. Featured images are stored as custom fields. This part I can handle.
A plugin might do it?
I know of http://wordpress.org/extend/plugins/multiple-post-thumbnails/ but here I need to deside the number of images from the start. My number is unknown.
Plugin, script or good articles are welcome.
The answer was to use Advanced Custom Fields. It’s very powerful plugin for adding custom fields of all kinds.
The addon “Repeater” did the trick.