Alternate number of items in pagination

  • Author
    Posts
  • #32029
    Thomas

    By default, the number of items being paginated, in mantra_pagination() is defined in settings>reading>”Blog pages show at most”, and stored as the setting “posts_per_page”.

    I have pout together an author page, but for this I wish to list a different number of posts on the page. I have setup a setting called “posts_per_author” retrieved “via get_option( ‘posts_per_author’, ” )” and I would like to use this number as the number of “posts” to display on this page.

    I am not sure how to proceed from here. Please advise!

Viewing 1 post (of 1 total)

The topic ‘Alternate number of items in pagination’ is closed to new replies.