How I can handle this shortcode:
I can't understand how to write a function, to handle image files name.
Are you going to put newlines in there between each image? or just spaces? I'll put in both for this example, checking if there's a newline.
You would want something like this in your functions.php:
It's not perfect.. if you use both spaces and newlines in your shortcode, it'll mess things up - though that could be dealt with in more detail inside the function.
Hope this helps.
|show 1 more comment|