WordPress.org

Ready to get started?Download WordPress

Forums

Link to Past Posts (4 posts)

  1. Str8G
    Member
    Posted 5 years ago #

    Hello,

    I'm really getting frustrated. If there isn't one problem with my blog, then it is another. I think once I get over this issues, my problems will be done, so please help me.

    My blog is http://www.straightgangsterism.com

    For some reason, there is no link at the bottom of my page to my archived posts. I hope that makes since. In my past themes and blogs, there was a link that said "next page" that took you to index pages that displayed past posts in chronological order. How can I get that on my current blog?

    Thank you so much.

  2. TransPersonal
    Member
    Posted 5 years ago #

    This may or may not work, but you can try putting these two lines in your

    single.php file(if you want the links to appear on your post pages) or in your archive.php file (if you want the links in your yearly archive pages):

    <?php next_posts_link('&laquo; Previous Entries') ?>
    <?php previous_posts_link('Next Entries &raquo;') ?>
  3. Ryan S
    Member
    Posted 5 years ago #

    Check out this:

    http://codex.wordpress.org/Template_Tags/next_post_link

    <?php next_post_link('format', 'link', 'in_same_cat', 'excluded_categories'); ?>

  4. Str8G
    Member
    Posted 5 years ago #

    Hi, thanks for your help. Unfortunately, still not working.

Topic Closed

This topic has been closed to new replies.

About this Topic