Hi
I know that the developers have enough to do and help with theming isn't your top priority. Understandingly, but if anyone can nudge me in the right direction I would appreciate.
I'm trying to get the two next_album and next_news loops fit together on my index page. I managed it in a way: http://trondheimkunsthall.com/
I want albums and news to descend _together_ after published date though. Now the 10 last texts come first (as set at the zenpage plugin in admin-options.php?page=options&tab=plugin) and then the 10 last albums (as set in admin-options.php&tab=theme).
I am wondering: Where are the next_album and next_news functions declared?
My code is like this:
`
<?php while (next_news()): ;?>
<div class="album">
<div class="tekstdesc">
<?php printNewsTitleLink(); ?><?php echo " [tekster]"; ?>
<?php printNewsDate();?> | <?php echo gettext("Comments:"); ?> <?php echo getCommentCount(); ?> | <?php printNewsCategories(", ",gettext("Categories: "),"newscategories"); ?>
<?php echo getNewsContent(200); ?>
</div>
<?php endwhile; ?>
<?php while (next_album()): ?>
<div class="thumb"> <?php echo getBareAlbumTitle();?>"><?php printCustomAlbumThumbImage(getBareAlbumTitle(), NULL, 95, 95, 95, 95); ?>
<?php echo getBareAlbumTitle();?>"><?php printAlbumTitle(); ?>
<?php printAlbumDate(""); ?>
<?php echo truncate_string(getAlbumDesc(), 45); ?>
</div>
<?php endwhile; ?>
</div>
`
There is also another problem:
If I push the next page link, the first loop disappares. I must confess I don't understand how printPageListWithNav works either, because I recond it is there this other problem lies. Where is printPageListWithNav declared? (Maybe "declared" isn't the right word, I mean where is the code for the three functions.)