WordPress.org

Ready to get started?Download WordPress

Forums

adding numbers to paging (2 posts)

  1. Devo420
    Member
    Posted 6 years ago #

    I have got my previous and next paging working using this:
    <?php next_posts_link('« Previous') ?>
    <?php previous_posts_link('Next »') ?>

    Now how do I go about adding page numbers? Is there a way without using a plugin?

    appreciatively,
    Devo420

  2. Devo420
    Member
    Posted 6 years ago #

    <div class="navigation">
    			<div class="alignleft"><?php next_posts_link('&laquo; Previous') ?></div>
    			<div class="alignright"><?php previous_posts_link('Next &raquo;') ?></div>
    		</div>

Topic Closed

This topic has been closed to new replies.

About this Topic