Forums

cant change number of post in index (3 posts)

  1. apuerta
    Member
    Posted 5 years ago #

    Hi, everyone, first sorry about my english!

    I have problems to limit the number of post in the index of the blog. I cant change it in the options-reading optiones, i change it but in the index all time show all post, i look everywhere but i didnt see nothing, thanks

  2. spencerp
    Member
    Posted 5 years ago #

    This might help:
    http://www.vindictivebastard.net/downloads/perpage.php.txt

    When there, in your browser, go up top to:
    File => Save page as: perpage.php

    (Don't save it as a text file, save as: all files.

    Note, remove the .txt ending on it.. upload the perpage.php file to your domain.com/wp-content/plugins/ folder.. and activate it in the Blog's control panel..

    You can edit the file, before uploading it. Or after, depending on the Chmod settings you placed on it. CHMOD 666 in the FTP directory to edit via the Blog's Control Panel.

    Plugins => Plugin Editor

    Here's where in the file, to pick how many's on whatever page..

    $posts_per['home'] = 4;
    $posts_per['day'] = 10;
    $posts_per['month'] = 10;
    $posts_per['search'] = 10;
    $posts_per['year'] = 999;
    $posts_per['author'] = 999;
    $posts_per['category'] = 999;

    Here's the original thread, where it was born:
    http://wordpress.org/support/topic/11211?replies=22

    I hope this helps.. =) I'm still currently using it on my main blog now..running WordPress version 2.0.4.

    spencerp

  3. ia
    Member
    Posted 5 years ago #

    Sounds a lot like the custom query string, but a lot less bulky! I'm using this one. Thanks for the plugin! :D

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.