I am needing to do the normal place 6 or so images that represent albums on the page using the next_album() function. Then I want to place another list with 15 album titles in it. How do I reset the next_album() function to start back at the first album? I am currently on the index.php page. Thanks to whoever can help me out.
Comments
`while(next_album()) { ... }
while(next_album()) { ... }
while(next_album()) { ... }
while(next_album()) { ... }`
`next_album(true);` will print all albums, if that's what you're looking for. At the moment there's no way to specify the exact number to loop through, but there should be... hmm...
Here is the first call;
<?php $counter = 0; while (next_album() and $counter < 3): ?>
...
<?php $counter++; endwhile; ?>
This is the second call;
<?php while (next_album(true)): ?>
...
<?php endwhile; ?>
´<?php $counter = 0; while (next_album() and $counter < 3): ?>
...do your thing
<?php $counter++; endwhile; ?>
<?php while (next_album(true)): ?>
<?php $endwhile; ?>
<?php while (next_album(true)): ?>
do your thing
<?php $endwhile; ?>
´