increase the number of posts in the listing page of admin side – wordpress

Add the below given code to “function.php” inside your theme folder

function adminPaginationLimit(){
global $per_page, $wp_query;
$per_page = 500;
$posts_per_page = 500;
$wp_query->query(‘showposts=’. $posts_per_page);
}
add_action(‘admin_head’, ‘adminPaginationLimit’);

Share

Leave a Reply

Your email address will not be published. Required fields are marked *