WordPress.org

Ready to get started?Download WordPress

Forums

How to make current template show next posts. (4 posts)

  1. mejle12
    Member
    Posted 1 year ago #

    Hello Everyone,

    I'm looking for a way to hardcode my custom template so that it shows a next page for the rest of my posts.

    http://www.MRCpromotions.com/interview

    My current site's PHP.

    http://pastebin.com/4hjFVev2

    Thanks!

  2. Boris Kuzmanov
    Member
    Posted 1 year ago #

    After <?php endwhile; ?> use some of the pagination functions. For example:

    <div class="nav-previous alignleft"><?php next_posts_link( 'Older posts' ); ?></div>
    <div class="nav-next alignright"><?php previous_posts_link( 'Newer posts' ); ?></div>
  3. mejle12
    Member
    Posted 1 year ago #

    Perfect I'll look into it and reply once its finished!

  4. mejle12
    Member
    Posted 1 year ago #

    Thanks Boris works like a charm mate!

Topic Closed

This topic has been closed to new replies.

About this Topic