• Is there a way I can make the number of posts per page different for different parts of my site? For example I want to have the two most recent posts on the front page, and like 9-10 posts per page on the archives section. I’ve tried a few searches on this forum and on google but havn’t had any luck, any help would be greatly apprciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter basketball

    (@basketball)

    I changed my posts per page to 8, and using the plugin I set the number on the homepage to 2, and it worked perfectly! Thanks a lot for the link mdawaffe

    tomc

    (@tomc)

    Is there a plugin to do this with WordPress 1.2.2? Or some other hack I’m not aware of?
    I’ve got a 1.2.2 blog running wherein I’ve got posts paged set to 1 – but then my archive pages only have 1 post as well, which kind of defeats the point.

    If upgrading to 1.5 is the only solution, fine, but if there’s something easier, hooray.

    laslo

    (@laslo)

    Can you give instructions for the use of the plugin https://rephrase.net/miscellany/05/perpage.phps ??
    I installed and activated but then I see no additional menu or submenu in the admin page.
    So, how do I use this plugin in WP 1.5?

    iand

    (@iand)

    You have to edit the code of the plugin itself:
    $posts_per['X'] = Y;
    I think the custom query strings will also do a similar job, but with an admin interface:
    https://mattread.com/projects/custom-query-string-plugin/.

    brittanie

    (@brittanie)

    A) You should upgrade to 1.5. This ensures your site is safe and will be of a benefit when a new version comes out.

    B) Your should check out the custom query string plugin, which lets you customize posts per page based on the type of page a person is looking at a€?? archives, search, index, etc.

    Do a search and you’ll find it.

    brittanie

    (@brittanie)

    Uhh, sorry, zoomed by that last post. I’m drunk…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to make posts per page different’ is closed to new replies.