I'm displaying 3 posts on my homepage and I need to have either a next page, previous page type functionality. I'd also like to incorporate 1,2,3,4,5,6,7,8,9, ... type paging functionality on some areas of the site.
I tried doing this:
<span class="page-skips">
<?php if (($previous = $page->getPreviousPage()) !== false): ?>
<a href="<?php echo $previous->getPermalink() ?>">← <?php echo $this->__('Previous Page') ?></a>
<?php endif; ?>
<?php if (($next = $page->getNextPage()) !== false): ?>
<a href="<?php echo $next->getPermalink() ?>"><?php echo $this->__('Next Page') ?> →</a>
<?php endif; ?>
</span>
but getPreviousPage / getNextPage are obviously not functions. any ideas?