Hello Adriano,
sorry for my WoT but there are so many question within this Topic
So i tried to understand waht the "warp" value does…am i right with my way to think?
10 Entries in DB: Warp="2" mean WPV takes 2 DB-Entry and put it in the loop in that case it will work for p.e. odd, even class styling:
<wpv-loop wrap="2"> [wpv-item index=1] class=even [wpv-item index=2] class=odd </wpv-loop>
Output:
even
odd
even
odd
even
odd
even
odd
even
odd
This works fine so…
———–
10 Entries ind DB: Warp="3" mean WPV takes 3 DB-Entry and put it in the loop in that case it will work for p.e. odd, even class styling:
<wpv-loop wrap="3"> [wpv-item index=1] class=even [wpv-item index=2] class=odd [wpv-item index=other] class=other </wpv-loop>
Output:
even
odd
other
even
odd
other
even
odd
other
even
This works fine so…
———–
But i cant get your Grid to work:
<!-- wpv-loop-start --> <wpv-loop wrap="2" pad="true"> [wpv-item index=1] <li class="even"><a href="#[wpv-post-id]">[wpv-post-title]</a></li> [wpv-item index=other] <li class="other"><a href="#[wpv-post-id]">[wpv-post-title]</a></li> [wpv-item index=2] <li class="even"><a href="#[wpv-post-id]">[wpv-post-title]</a></li> [wpv-item index=pad] <li class="pad"><a href="#[wpv-post-id]">[wpv-post-title]</a></li> [wpv-item index=pad-last] <li class="pad-last"><a href="#[wpv-post-id]">[wpv-post-title]</a></li> </wpv-loop> <!-- wpv-loop-end -->
Output:
<ul class="navigation"> <!-- wpv-loop-start --> <li class="even"><a href="#129">Home<br>Startseite</a></li> <li class="even"><a href="#108">Der<br>Verein</a></li> <li class="even"><a href="#38">Unsere<br>Angebote</a></li> <li class="even"><a href="#154">Kochen &<br>Kurse</a></li> <li class="even"><a href="#68">Menü<br>Eventplan</a></li> <li class="even"><a href="#94">Das ist<br>Teamwork</a></li> <li class="even"><a href="#124">Kontakt<br>Anfrage</a></li> <li class="pad-last"><a href="#124">Kontakt<br>Anfrage</a></li> <!-- wpv-loop-end --> </ul>
thx again
wbr
leo