Skip to content

allow array type for shortcodes #270

@piedoom

Description

@piedoom

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions