Add details section to player edit page showing number and custom fields

This commit is contained in:
Brian Miyaji
2014-01-06 15:26:25 +11:00
parent 5b0e30221f
commit 2ededfdfe5
5 changed files with 86 additions and 17 deletions

View File

@@ -126,11 +126,20 @@ $sportspress_sports['soccer'] = array(
),
),
array(
'post_title' => __( 'Red Cards', 'sportspress' ),
'post_name' => 'redcards',
'post_title' => __( 'Height', 'sportspress' ),
'post_name' => 'height',
'meta' => array(
'sp_equation' => '',
'sp_format' => 'integer',
'sp_format' => 'custom',
'sp_precision' => 1,
),
),
array(
'post_title' => __( 'Weight', 'sportspress' ),
'post_name' => 'weight',
'meta' => array(
'sp_equation' => '',
'sp_format' => 'custom',
'sp_precision' => 1,
),
),