• I just realized that depending on my settings how many posts are shown on my my (index) page .. it influences as well how many posts are shown in the monthly archive. Is there a possibility to change that?
    I redirect via htaccess index.php to archive .. and think that might be the crucial point, but could not figure out how to do it else.
    On the other side I thought if it is really like that then it influences every blog which has for example show posts set to 10 …. so entire monthly archives also will show only the first 10 (descending) thus never the lower numbers of the month in case one published more …
    Any advice? .. or my missunderstanding .. thank you

Viewing 9 replies - 1 through 9 (of 9 total)
  • Set ‘posts paged’ in Options > Reading to control the number of posts in each view.
    You might also want to include some code for a Next – Previous link.

    Thread Starter mo2this

    (@mo2this)

    thank you, got it.

    can somebody explain this to me.
    i want to do the same thing, but under Options -> Reading, it only has an option for Front Page.
    thanks,
    e

    Anon,
    set the number of posts for your “front page” and add the post_nav_link tag to your index.php.
    See Wiki: https://wiki.www.ads-software.com/?pagename=posts_nav_link

    Thanks, but I got that part.
    Let me explain further.
    I want 8 posts per page on the “main” page, but 20 posts per page on the category page.
    Like the original poster, I use .htaccess pages to “split things off” into 2 templates, but the posts/page setting in Options -> Reading seems to control the setting for all “views/templates”, as it is no doubt a global variable read from the settings.
    Just wandering if it’s possible to set this number to be different for differnt “views”.

    It is….. Beel answered me and someone else a couple of days ago….I’ll find because I forgot to bookmark it myself ??

    If you are using 1.3a, when you get rboren’s plugin, just change the 1 to an 8 and set your posts to show to 20 and all will be well.

    Ahh … thanks guys …
    I think I’m using 1.2.something …
    that explains why the earlier suggestion didn’t make sense.
    I’ve figured out I can pass “posts_per_page=#” with .htaccess files and pretty much accomplish what I want.
    I tried just adding this variable to the relevant template, but that didn’t work.
    Presumably variables passed in the GET method take precedence over variables defined in .php files, so this must be why.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘posts per page …’ is closed to new replies.