posts always the same in every page (2 posts)

  1. chitgoks
    Posted 5 years ago #

    hi. i believe that this is a wordpress theme problem because i tried the default theme and it shows 3 posts per page

    the current theme of this blog http://gbeth.chitgoks.com

    keeps showing 5 posts in every page (and the same 5 posts) even though the option was set to 3 posts per page.

    i tried to override it with some php code but it didnt work out. anyone got some ideas? thanks

  2. Michael
    Part-Time Forum Moderator
    Posted 5 years ago #

    there is probably a custom query in index.php (or the template file that displays the front page) which is missing the 'paged' parameter;

    you could try and add this parameter to the query_posts code (if it exists) similar to the example below:

    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;

    or you could paste the code of index.php into a http://wordpress.pastebin.com/ and post the link to it here; someone might have a look at it and might make some sugestions.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.