Forums

Adding pagination to static homepage (3 posts)

  1. Tyrxy
    Member
    Posted 11 months ago #

    Hi everyone,

    I've been struggling to add pagination to the bottom of my posts so users can see the previous posts that have been made. Originally I thought it would be a simple matter of just adding some code but I found out that having pagination on static pages is apparently complex.

    So my site is http://talkbeta.com and if you type http://talkbeta.com/page/2 it'll just show the same content rather then load the old posts. If anyone can help me with this it'll be greatly appreciated.

    http://pastebin.com/GWi8cM9y Main Index Template (index.php)
    http://pastebin.com/aFB3rfzw Frontpage 1 Page Template(frontpage.php)

    Thanks,
    Tyrxy

    PS: My knowledge of coding languages is dismal and I really only modify things via cut and paste jobs using firebug so if someone figures it out could you amend the code for me?

  2. theotherlebowski
    Member
    Posted 11 months ago #

    do you want a static page with a "hello and welcome" type of thing or do you want to display a list of posts from a specific category?

  3. alchymyth
    The Sweeper
    Posted 11 months ago #

    there is nothing to paginate on the front page - there are just widgets.

    if you want the front page posts to paginate, you need to re-code the page template with an actual loop to show the category posts.

Reply

You must log in to post.

About this Topic