Display player number in manage posts columns
This commit is contained in:
@@ -11,6 +11,7 @@ function sportspress_manage_posts_custom_column( $column, $post_id ) {
|
|||||||
switch ( $column ):
|
switch ( $column ):
|
||||||
case 'sp_icon':
|
case 'sp_icon':
|
||||||
edit_post_link( get_the_post_thumbnail( $post_id, 'sportspress-fit-icon' ), '', '', $post_id );
|
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;
|
break;
|
||||||
case 'sp_views':
|
case 'sp_views':
|
||||||
echo sportspress_get_post_views( $post_id );
|
echo sportspress_get_post_views( $post_id );
|
||||||
|
|||||||
Reference in New Issue
Block a user