Move presets to root folder
This commit is contained in:
76
presets/sports/footy.php
Normal file
76
presets/sports/footy.php
Normal file
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
global $sportspress_sports;
|
||||
|
||||
$sportspress_sports['footy'] = array(
|
||||
'name' => __( 'Australian Rules Football', 'sportspress' ),
|
||||
'posts' => array(
|
||||
// Table Columns
|
||||
'sp_column' => array(
|
||||
array(
|
||||
'post_title' => 'P',
|
||||
'post_name' => 'p',
|
||||
'meta' => array(
|
||||
'sp_equation' => '$eventsplayed',
|
||||
)
|
||||
),
|
||||
array(
|
||||
'post_title' => 'W',
|
||||
'post_name' => 'w',
|
||||
'meta' => array(
|
||||
'sp_equation' => '$w',
|
||||
)
|
||||
),
|
||||
array(
|
||||
'post_title' => 'L',
|
||||
'post_name' => 'l',
|
||||
'meta' => array(
|
||||
'sp_equation' => '$l',
|
||||
)
|
||||
),
|
||||
array(
|
||||
'post_title' => 'D',
|
||||
'post_name' => 'd',
|
||||
'meta' => array(
|
||||
'sp_equation' => '$d',
|
||||
)
|
||||
),
|
||||
array(
|
||||
'post_title' => 'F',
|
||||
'post_name' => 'f',
|
||||
'meta' => array(
|
||||
'sp_equation' => '$ptsfor',
|
||||
)
|
||||
),
|
||||
array(
|
||||
'post_title' => 'A',
|
||||
'post_name' => 'a',
|
||||
'meta' => array(
|
||||
'sp_equation' => '$ptsagainst',
|
||||
)
|
||||
),
|
||||
array(
|
||||
'post_title' => 'Pct',
|
||||
'post_name' => 'pct',
|
||||
'meta' => array(
|
||||
'sp_equation' => '( $w / $eventsplayed ) * 10 * 10',
|
||||
)
|
||||
),
|
||||
array(
|
||||
'post_title' => 'Pts',
|
||||
'post_name' => 'pts',
|
||||
'meta' => array(
|
||||
'sp_equation' => '$pts',
|
||||
)
|
||||
)
|
||||
),
|
||||
// Statistics
|
||||
'sp_statistic' => array(
|
||||
),
|
||||
// Results
|
||||
'sp_result' => array(
|
||||
),
|
||||
// Outcomes
|
||||
'sp_outcome' => array(
|
||||
),
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user