Forums

how to make previous 5 pages links on bottom (5 posts)

  1. vanner
    Member
    Posted 3 years ago #

    I'm trying to have links to previous pages replacing the "previous/next" posts...like what http://digg.com has on the bottom. Anyone know how?

  2. Kaknu
    Member
    Posted 3 years ago #

    Put these in on the pages for your theme for previous and next 5 entries...
    <?php posts_nav_link('','','« Previous Entries') ?>
    <?php posts_nav_link('','Next Entries »','') ?>

    And these are for when you click on an entry and want to show the previous and next single entry...
    <?php previous_post('« %','Previous Entry','no','yes') ?>
    <?php next_post(' % »','Next Entry','no','yes') ?>

  3. vanner
    Member
    Posted 3 years ago #

    Hmm...I don't think that does what I want.

    Basically, I want to create something like this:

    http://whfarm1.com/blog/picture008.jpg

    where:

    "1" is home page
    "2" goes to /index.php?paged=2
    "3" goes to /index.php?paged=3

    and the last page number is also there...

  4. Kassad
    Member
    Posted 3 years ago #

    I would suggest to use a Recent Posts plugin.
    Though, you may have to do some serious css work.
    There is a likely solution in Mentor's Horizona theme.
    Visit:
    http://m3nt0r.de

  5. Kaknu
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.