Display player number in manage posts columns

This commit is contained in:
Brian Miyaji
2014-02-15 23:46:42 +11:00
parent 3b9344232a
commit 07cb97b33c

View File

@@ -11,6 +11,7 @@ function sportspress_manage_posts_custom_column( $column, $post_id ) {
switch ( $column ):
case 'sp_icon':
edit_post_link( get_the_post_thumbnail( $post_id, 'sportspress-fit-icon' ), '', '', $post_id );
echo '<strong>' . get_post_meta( $post_id, 'sp_number', true ) . '</strong>';
break;
case 'sp_views':
echo sportspress_get_post_views( $post_id );