Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Get First three items

Started by Binal 7 years ago · 0 replies · 525 views
7 years ago

I have some events child page

I want 3 upcoming events in one div and another in other div.

Now i facing problems is that i use |slice(0,3) for display 3 three events but if event expired then it shows only 2 in first div.

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 1 day ago
2 42 19 hours ago
General · by Hanns Mattes, 1 week ago
0 123 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago