Change sum to total
This commit is contained in:
@@ -189,7 +189,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Comp',
|
||||
'post_name' => 'comp',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -201,7 +201,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Att',
|
||||
'post_name' => 'att',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -227,7 +227,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Att/G',
|
||||
'post_name' => 'attg',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -240,7 +240,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Rec',
|
||||
'post_name' => 'rec',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -253,7 +253,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Comb',
|
||||
'post_name' => 'comb',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -267,7 +267,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Total',
|
||||
'post_name' => 'total',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -281,7 +281,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Ast',
|
||||
'post_name' => 'ast',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -295,7 +295,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Sck',
|
||||
'post_name' => 'scktackles',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -309,7 +309,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'SFTY',
|
||||
'post_name' => 'sfty',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -323,7 +323,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'PDef',
|
||||
'post_name' => 'pdef',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -337,7 +337,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'TDs',
|
||||
'post_name' => 'tds',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -351,7 +351,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'KO',
|
||||
'post_name' => 'ko',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -363,7 +363,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Ret',
|
||||
'post_name' => 'ret',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -376,7 +376,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Punts',
|
||||
'post_name' => 'punts',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -388,7 +388,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Yds',
|
||||
'post_name' => 'yds',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -410,7 +410,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Net Yds',
|
||||
'post_name' => 'netyds',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -453,7 +453,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Blk',
|
||||
'post_name' => 'blk',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -465,7 +465,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'OOB',
|
||||
'post_name' => 'oob',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -478,7 +478,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Dn',
|
||||
'post_name' => 'dn',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -490,7 +490,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'IN 20',
|
||||
'post_name' => 'in20',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -502,7 +502,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'TB',
|
||||
'post_name' => 'tb',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -514,7 +514,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'FC',
|
||||
'post_name' => 'fc',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -528,7 +528,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Ret',
|
||||
'post_name' => 'retpunt',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -543,7 +543,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'RetY',
|
||||
'post_name' => 'rety',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -557,7 +557,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Yds/G',
|
||||
'post_name' => 'ydsg',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -572,7 +572,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'TD',
|
||||
'post_name' => 'TD',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -592,7 +592,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Int',
|
||||
'post_name' => 'int',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -607,7 +607,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => '1st',
|
||||
'post_name' => 'first',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -637,7 +637,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Lng',
|
||||
'post_name' => 'lng',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -658,7 +658,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => '20+',
|
||||
'post_name' => 'twentyplus',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -675,7 +675,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => '40+',
|
||||
'post_name' => 'fourtyplus',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -692,7 +692,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Sck',
|
||||
'post_name' => 'sck',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -704,7 +704,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Rate',
|
||||
'post_name' => 'rate',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -716,7 +716,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'FUM',
|
||||
'post_name' => 'fum',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -732,7 +732,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'FF',
|
||||
'post_name' => 'ff',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -746,7 +746,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Rec',
|
||||
'post_name' => 'recfum',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -760,7 +760,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'TD',
|
||||
'post_name' => 'tdfum',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -786,7 +786,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'Lng',
|
||||
'post_name' => 'lngpunt',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -799,7 +799,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'TD',
|
||||
'post_name' => 'tdpunt',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -814,7 +814,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => '20+',
|
||||
'post_name' => 'twentypluspunt',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -827,7 +827,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => '40+',
|
||||
'post_name' => 'fourtypluspunt',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -840,7 +840,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'FC',
|
||||
'post_name' => 'fcpunt',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -853,7 +853,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'FUM',
|
||||
'post_name' => 'fumpunt',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -866,7 +866,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'OSK',
|
||||
'post_name' => 'osk',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -878,7 +878,7 @@ $sportspress_sports['football'] = array(
|
||||
'post_title' => 'OSKR',
|
||||
'post_name' => 'oskr',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
|
||||
@@ -124,35 +124,35 @@ $sportspress_sports['rugby'] = array(
|
||||
'post_title' => 'Points',
|
||||
'post_name' => 'points',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
),
|
||||
array(
|
||||
'post_title' => 'Tries',
|
||||
'post_name' => 'tries',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
),
|
||||
array(
|
||||
'post_title' => 'Conversions',
|
||||
'post_name' => 'conversions',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
),
|
||||
array(
|
||||
'post_title' => 'Penalty Goals',
|
||||
'post_name' => 'penaltygoals',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
),
|
||||
array(
|
||||
'post_title' => 'Drop Goals',
|
||||
'post_name' => 'dropgoals',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -133,10 +133,26 @@ $sportspress_sports['soccer'] = array(
|
||||
array(
|
||||
'post_title' => 'Height',
|
||||
'post_name' => 'height',
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
'goalkeeper',
|
||||
'defender',
|
||||
'midfielder',
|
||||
'forward',
|
||||
),
|
||||
),
|
||||
),
|
||||
array(
|
||||
'post_title' => 'Weight',
|
||||
'post_name' => 'weight',
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
'goalkeeper',
|
||||
'defender',
|
||||
'midfielder',
|
||||
'forward',
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
// Player Statistics
|
||||
@@ -145,7 +161,7 @@ $sportspress_sports['soccer'] = array(
|
||||
'post_title' => 'Goals',
|
||||
'post_name' => 'goals',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -160,7 +176,7 @@ $sportspress_sports['soccer'] = array(
|
||||
'post_title' => 'Assists',
|
||||
'post_name' => 'assists',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -175,7 +191,7 @@ $sportspress_sports['soccer'] = array(
|
||||
'post_title' => 'Yellow Cards',
|
||||
'post_name' => 'yellowcards',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
@@ -190,7 +206,7 @@ $sportspress_sports['soccer'] = array(
|
||||
'post_title' => 'Red Cards',
|
||||
'post_name' => 'redcards',
|
||||
'meta' => array(
|
||||
'sp_calculate' => 'sum',
|
||||
'sp_calculate' => 'total',
|
||||
),
|
||||
'tax_input' => array(
|
||||
'sp_position' => array(
|
||||
|
||||
Reference in New Issue
Block a user