The Gallery page code is
<div class="homepage-gallery">
<?php $recent = new WP_Query(array('cat' => genesis_get_option('gallery_cat'), 'showposts' => genesis_get_option('number_images'))); while($recent->have_posts()) : $recent->the_post();?>
<div class="polaroid-bg">
<div class="boxgrid slidedown">
<a href="<?php the_permalink() ?>" rel="bookmark"><?php genesis_image(array('format' => 'html', 'size' => 'Gallery', 'attr' => array('class' => 'cover'))); ?></a>
<h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php $title = the_title('','',FALSE); echo substr($title, 0, 60); ?></a></h3>
<p>by <?php echo genesis_get_custom_field('nickname'); ?></p>
</div>
</div>
<?php endwhile; ?>
</div>I have figured out that I need to change the first 2 lines so I changed them to:
<?php $recent = new WP_Query(array('cat' => genesis_get_option('gallery_cat'), 'showposts' => genesis_get_option('number_images'))); while(have_posts()) : the_post();?>but now I only get 10 posts instead of the 15
and then I need to add the navigation, something like this but I must be missing a bit of php somewhere.
<div class="navigation">
<div class="next-posts"><?php next_posts_link('« Older Entries') ?></div>
<div class="prev-posts"><?php previous_posts_link('Newer Entries »') ?></div>
</div>Any help would be greatly appreciated.

Help













