Variables in [pass list]?
-
I would like to write something like:
[pass 2016~2021] ... [/pass]in a programmatic way.
For example, for the first term (2016, in my example), I’d like to define a variable, while for the second therm (2021, in my example), I’d like to use the today CSS shortcode.
Example:
[set startingyear]2016[/set] [set endingyear][today format=Y][/set] [pass list=startingyear~endingyear] ... [/pass]Unfortunately, this approach doesn’t seem to work. Any idea on how to fix it, or how to find an alternative way?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Variables in [pass list]?’ is closed to new replies.