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() ?>">&larr; <?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') ?> &rarr;</a>         <?php endif; ?>     </span> 

but getpreviouspage / getnextpage not functions. ideas?


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -