• 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 https://talkbeta.com and if you type https://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.

    https://pastebin.com/GWi8cM9y Main Index Template (index.php)
    https://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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • jack randall

    (@theotherlebowski)

    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?

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding pagination to static homepage’ is closed to new replies.