wordpress - Creating pagination with Fishpig -
i'm displaying 3 posts on homepage , need have either next page, previous page type functionality. i'd incorporate 1,2,3,4,5,6,7,8,9, ... type paging functionality on areas of 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 not functions. ideas?
Comments
Post a Comment