Begin SportsPress

Add basic helpers, post types and taxonomies.
This commit is contained in:
Takumi
2013-07-24 13:44:11 +10:00
parent 1b74053a31
commit e3fb4c69dd
23 changed files with 1595 additions and 1 deletions

14
defaults.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
$sp_options = array(
'settings' => array(
'sp_event_team_count' => 2,
),
);
foreach( $sp_options as $optiongroupkey => $optiongroup ) {
foreach( $optiongroup as $key => $value ) {
if ( get_option( $key ) === false )
update_option( $key, $value );
}
}
?>