I'm creating an album shortcode that contains an arbitrary amount of images. It'd be very nice to be able to just go something like:
{{ album(paths=["file1.jpg", "file2.jpg", "file3.jpg"]) }}
Because arrays are ignored, the next best solution that I can imagine is something like defining manually different amounts for different shortcodes, i.e. album2, album3, album4, and so on.
I'm creating an album shortcode that contains an arbitrary amount of images. It'd be very nice to be able to just go something like:
{{ album(paths=["file1.jpg", "file2.jpg", "file3.jpg"]) }}Because arrays are ignored, the next best solution that I can imagine is something like defining manually different amounts for different shortcodes, i.e.
album2,album3,album4, and so on.