Incremental numbers in loop
-
Hello,
my loop will be something like this
-set tabnumber to 0[loop field=city value='{VALUE}'] [if first]<div class="tab-[field value=tabnumber+1]">[-loop field=city value='{VALUE}']<li>...</li><li>...</li><li>...</li>[/-loop]</div>[/if] [/loop]
I need to have an incremental number for each loop. I need this because results will go in a tabbed view and I need different number for each tab.
Does your plugin already support incremental numbers? I could find only random number in reference.
Thank you!https://www.ads-software.com/plugins/custom-content-shortcode/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Incremental numbers in loop’ is closed to new replies.