WordPress.org

Support

Support » Plugins and Hacks » Media Library Popup Item number change

Media Library Popup Item number change

  • dradimaker

    @dradimaker

    I was looking hardcore for an answer to my question then found it on the lone-some if anyone wants to add more items the media library popup go to
    ——————-line 1843——————————-
    of the wp-admin/includes/media.php file and change the $wp-query->found_posts / 10 to whatever number you want as you can see i chose 125

    $page_links = paginate_links( array(
    	'base' => add_query_arg( 'paged', '%#%' ),
    	'format' => '',
    	'prev_text' => __('«'),
    	'next_text' => __('»'),
    	'total' => ceil($wp_query->found_posts / 125),
    	'current' => $_GET['paged']
    ));
  • The topic ‘Media Library Popup Item number change’ is closed to new replies.
Skip to toolbar