Support » Plugins » Hacks » Set "show on screen" amount on theme activation for posts and pages lists.

  • adaldesign

    (@adaldesign)


    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!

  • The topic ‘Set "show on screen" amount on theme activation for posts and pages lists.’ is closed to new replies.