Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End “Older Articles” Button

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #38220
    Ehcho
    Member

    Hello,

    I was wondering if anyone knew how to get an “Older Articles” link for WordPress? Examples of what I mean can be seen by visiting these two websites: http://www.tuaw.com/ (Scroll right the the bottom “Older Articles”) and http://www.cultofmac.com/ (Scroll right to the bottom “Older Posts”).

    Thank you.

    #103495
    Senff
    Participant

    This is a very basic WordPress feature. By default, the main page shows 10 posts, and then the “Older posts” link just goes to the next page of posts (usually at http://www.yoursite.com/page/2 ).

    So, unless you did some customization on your WordPress setup, all you have to do to is to add this code:

    Older posts

    But I think that link should already appear on your site by default anyway.

    #103506
    Ehcho
    Member

    That’s exactly what I wanted but how do I get the page number to change within the hyperlink? So, if they go to page 2, how would I alter the hyperlink to go to page 3 when clicked?

    Thank you for your help, Senff.

    Morgan

    #103512
    Senff
    Participant

    This is standard WordPress functionality, those links should show up automatically if you have enough posts, and you won’t have to do anything for it.

    #103514
    Ehcho
    Member

    Ah! I accidentally removed “” from my index.php file. I didn’t realise this was to do with page navigation.

    Thank you Senff.

    #103516
    Senff
    Participant

    There you go! :)

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Back End’ is closed to new topics and replies.