I've searched for days for a solution, scouring the interwebs, including, of course, stackoverflow.
I'm using a custom post type as a static home page, but the pagination will not work. When I attempt to navigate to the second page, it reverts back to the same first page. This is not a problem unless I'm using it as a static front page.
Here's the code I have set up.
<?php $home_num = get_option('of_home_num'); ?>
<?php query_posts( 'post_type=portfolio&posts_per_page='.$home_num.'&paged='.$paged); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
... content ...
<?php endwhile; ?>
<?php else: ?>
<p><?php _e('Sorry, nothing here.', 'Zoho'); ?></p>
<?php endif; ?>
<?php if (function_exists("pagination")) { pagination($additional_loop->max_num_pages); } ?>
<?php wp_reset_query(); ?>
I know the pagination function works fine, because I've used it many, many times before.
I'm happy to offer a donation to anyone who can help out with this. Like I said, I'm stuck :)