XF 2.1 Using Foreach with multiple parameter

mkucuksari

Well-known member
I and one of my friend have just started to develop addons.

We have a thread list and a custom page. From thread list, by using "foreach" command we want to show 5 thread at the top and 8 thread at the bottom of our custom page.

How can we use foreach command with two different class ?
 
Top Bottom