• Resolved Amy

    (@ontherye)


    Hi. I would like for my blog to show page numbers instead of “OLDER POST” & “NEWER POST” so readers can navigate through pages easier. I don’t want to rely on a plug-in. Pls, can anyone help me with:

    – Where to remove the code for “older + newer post”
    – Codes for numeric pagination & where to place the new codes

    I am very new to WordPress & using CSS. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Look for this code in functions.php:

    <div class="nav-previous alignleft"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'themonic' ) ); ?></div>
    <div class="nav-next alignright"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'themonic' ) ); ?></div>

    Install WP PageNavi Plugin and replace the above code with:

    <?php wp_pagenavi(); ?>

    Afrowall

    (@afrowall)

    Thanks for the code.. It’s helpful

    Thread Starter Amy

    (@ontherye)

    Thanks for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display Numeric Pagination’ is closed to new replies.