WordPress.org

Forums

Set "show on screen" amount on theme activation for posts and pages lists. (1 post)

  1. adaldesign
    Member
    Posted 3 years ago #

    Hey all,

    For productivity purposes I included some "update_option" statements in functions.php that run on activation of my framework-theme I use to create WP sites.

    One example is: update_option( 'default_post_edit_rows', 25 );

    There is one option I would really like to set on activation that I can't find how:

    It's the Screen Options > Show on Screen setting that is set to default to 20 for posts and pages and just about every backend wordpress list of anything.
    I would like to set it to something that avoids pagination in most cases, say 100 instead of 20.

    Any help is mighty kind!

Topic Closed

This topic has been closed to new replies.

About this Topic