how can i show in the module k2_content, penultime and antepenultimate? I imagine that i have to define a search.
5 years 10 months ago #177807
<?php foreach ($items as $key=>$item): ?> <?php foreach ($items as $key=>$item):
if ($key == 0 || $key == (count($items) - 1)) continue; // skip the first and last K2 item from the foreach loop
?>Log in or create an account to reply.