Hi,
I don't know why the code I use to display the recent album on my wordpress website home page stop working. I'm using a 2.8 wordpress version and 1.2.4 Zenphoto version integrated with my website. [http://www.ziguline.com/gallery ]
The code used to display recent album on the home page is the following:
`
<?php define('gallery', 'zp-core');
define('WEBPATH', 'gallery');
require_once(WEBPATH . "/" . gallery . "/template-functions.php"); ?>
<div id="blocco_photoblog">
[Image:
http://www.ziguline.com/images/sfondo_photoblog.png]
<?php $counter = 0; while (next_album() and $counter < 4): ?>
<div class="recent_albums">
<a>" title="View album: <?php echo getAlbumTitle();?>">
<?php printCustomAlbumThumbImage(getAlbumTitle(), null, 150, 150, 150, 150, 0, 0); ?></a>
<a>" title="View album: <?php echo getAlbumTitle();?>"><?php printAlbumTitle(); ?></a>
<small><?php printAlbumDate(""); ?></small>
<div>
<?php printAlbumDesc(); ?>
<p style="clear: both;">
</div>
<?php $counter++; endwhile; ?>
</div>
</div>
`
Thanks for your precious help.
Dimitri
ziguline.it