WordPress.org

Ready to get started?Download WordPress

Forums

Media Library Popup Item number change (1 post)

  1. dradimaker
    Member
    Posted 1 year ago #

    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']
    ));

Topic Closed

This topic has been closed to new replies.

About this Topic