WordPress.org

Ready to get started?Download WordPress

Forums

Older/Newer Entries Links (11 posts)

  1. DisturbedGoddess
    Member
    Posted 3 years ago #

    I am trying to edit the layout on my 2nd website I am working on to have the Older and newer entries link. Like my other site has.

    Like this
    http://i331.photobucket.com/albums/l455/xxDisturbedGoddessxx/OlderNewerPosts.jpg

  2. esmi
    Forum Moderator
    Posted 3 years ago #

  3. DisturbedGoddess
    Member
    Posted 3 years ago #

    But what file do i add it to and where in the file does it go?

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    You need to add it to the relevant template file(s) in your theme. Try looking in the template files of your other site for some examples.

  5. DisturbedGoddess
    Member
    Posted 3 years ago #

    Wait what? I'm confused I just wanna know if i have to add it in my archives.php file or what and where to add it. I'm sorry I'm just a tad confused.

  6. esmi
    Forum Moderator
    Posted 3 years ago #

    What pages do you want these links on? This Codex section will help you to first identify which template files you'll need to add the tags to.

  7. DisturbedGoddess
    Member
    Posted 3 years ago #

    OO i want them to show up when you select a month from the archives and on the front page where the news entries are at. I dont know what file that would be though.

  8. esmi
    Forum Moderator
    Posted 3 years ago #

    In that case it would be archive.php for the monthly listing and (I'd guess) index.php for the home page. You need to add the tags after <?php endwhile; ?> but before <?php endif;?>.

  9. DisturbedGoddess
    Member
    Posted 3 years ago #

    Ahh thanks I'll try that

  10. DisturbedGoddess
    Member
    Posted 3 years ago #

    Nope its not working, its still not showing the links

  11. DisturbedGoddess
    Member
    Posted 3 years ago #

    ive tried just bout ever position in the coding and nothing is showing up

Topic Closed

This topic has been closed to new replies.

About this Topic