How To Set Default Listing View on WordPress Dashboard

When you select the “All Posts” link from the left panel of WordPress dashboard, it display the list of posts on your WordPress blog. By default, it display the posts in list mode, you can change this to excerpt mode by clicking on the excerpt button on the top of listing.

Set Default Listing Mode in WordPress Dashboard

Set Default Listing Mode in WordPress Dashboard

If you want to set excerpt mode as the default mode to display the posting listing, you can easily perform this task by using following code snippet.

//Set Default Listing Mode in WordPress Dashboard
add_action( 'load-edit.php', 'ccw_use_excerpt_mode' );
function ccw_use_excerpt_mode() {
	if($_REQUEST['mode'] == ''){
    	$_REQUEST['mode'] = 'excerpt';
	}
}

Useful Read: Set WordPress Default Text Editor

0 Comments

Leave a Comment.