Posts Per Page Same on All Pages, No Pagination (3 posts)

  1. mattriggins
    Posted 3 years ago #

    Using the free WordTube theme and have modified index.php only to remove the "featured" videos part. Which, is basically the same code as the Latest Videos, with only the extra attribute to show a particular category.

    But I can't figure out why with the code below, every page (first page, second page, etc) all show the same posts. I've gone through other peoples posts here showing similar situations and have tried various things but I'm stumped at this point. All this code does is show the same 20 most recent posts on every page.

    The theme shows the thumbnail (using the thumb custom field) and then the rating for the video based on the wp_postratings plugin. I also use pagenavi.

    Help...? Thanks :)

    Here's index.php from the theme.

  2. mattriggins
    Posted 3 years ago #

  3. mattriggins
    Posted 3 years ago #

    Had to use pastebin to get the code in. Here it is.

    Thank you!


Topic Closed

This topic has been closed to new replies.

About this Topic