WordPress.org

Ready to get started?Download WordPress

Forums

User Selectable Posts per page (3 posts)

  1. Ajay
    Member
    Posted 8 years ago #

    Is there some plugin or hack or anything that can let a visitor to my site select how many posts he would like to display on a page?

    To explain, on my homepage or by default any page I would display 5 posts and the bottom of the 5 posts I could put a few links or a drop down box where a visitor can select the number of posts he would like to display per page.

    An added advantage would be setting a cookie to remember this preference.

    Any suggestions, sample code?

  2. Kafkaesqui

    Posted 8 years ago #

    Don't know of a plugin for setting a reader-configurable posts-per-page option. However, the following plugins would be a good place to start in regards to coding your own:

    http://wordpress.org/support/topic/24031#post-136906
    http://mattread.com/archives/2005/03/custom-query-string-plugin/

  3. Ajay
    Member
    Posted 8 years ago #

    Thanks for the links. I am now using the Custom Query String Plugin on my site.

    I do hope someone comes up with what I posted above.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags