WordPress.org

Ready to get started?Download WordPress

Forums

Brunelleschi
[resolved] Change "Older posts" "Newer posts" to numbers (pagination) (3 posts)

  1. wordpressFTW
    Member
    Posted 1 year ago #

    Hi,

    Does anyone know how to change "Older posts" and "Newer posts" at the bottom into numbers instead? So that it'll say "1,2,3" depending on how many pages there are. Is this possible?

    Thanks in advance!

    http://wordpress.org/extend/themes/brunelleschi/

  2. keesiemeijer
    moderator
    Posted 1 year ago #

  3. CodeBotics
    Member
    Posted 1 year ago #

    This theme uses next_posts_link()

    Take a look at replacing it with paginate_links() if you don't want to use a plugin. To replace it, you will need to create a child theme and then add a new loop.php, with the lines shown below replaced with paginate_links(etc).

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic