Limit Items to Multiple-of ❺

Limit a list to a multiple of X items

Use Cases

  • Layout your collection lists in grids and show the maximum number of items available while limiting the items to an even multiple.

Demonstration

Usage Notes

wfu-limit-multiple attribute

Place on any Collection List directly ( not the Collection List Wrapper ).

Specify the multiple of items you want to show, e.g. 2, 3, 4, 5. The list will be limited to a multiple of the number you specify.

If your list has fewer items than your multiple, you will get zero.

wfu-limit-multiple-min attribute

OPTIONAL.

If you want to make certain a minimum number of items appears, you can also apply this attribute to specify that minimum number.

Getting Started ( NOCODE )

STEP 1 - Add the Library

First, add the library as detailed in Quick Start.

STEP 2 - Apply the attributes for the limits you want applied

See above for details.

Last updated