Is it possible to use more than one post_in within a shortcode (so being able to pass multiple values)?
Hi Chris,
You can pass as many values as you need, you just need to give each one a unique name so you can call them for use in your template so:
[template posts_in_whatever_name="22,33" heading="My Custom Heading" theme="cool-blue"]
And then you can access each value in your template by calling them as local variables:
<div class="theme-{Get local=theme}">
<If check="{Get local=heading}"><h2><Get local=heading /></h2></If>
<Loop type=whatever include="{Get local=posts_in_whatever_name}">
... Loop Content ...
</Loop>
</div>
Here’s the documentation on local variables
Hope that helps!