Advertisement
Guest User

Functions

a guest
Apr 22nd, 2013
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.85 KB | None | 0 0
  1. $meta_box = array(
  2.  
  3.     'id' => 'scores-box',
  4.  
  5.     'title' => 'Scores Info',
  6.  
  7.     'page' => 'scoreboard',
  8.  
  9.     'context' => 'normal',
  10.  
  11.     'priority' => 'high',
  12.  
  13.     'fields' => array(
  14.  
  15.     array(
  16.  
  17.             'name' => 'Score Status',
  18.  
  19.             'desc' => 'Enter score status (eg. "Fri 8:00pm" or "Final")',
  20.  
  21.             'id' => $prefix . 'status',
  22.  
  23.             'type' => 'text',
  24.  
  25.         ),
  26.  
  27.         array(
  28.  
  29.             'name' => 'Away Team Abbreviation',
  30.  
  31.             'desc' => 'Enter away team abbreviation (eg. "PHI")',
  32.  
  33.             'id' => $prefix . 'away_team',
  34.  
  35.             'type' => 'text',
  36.  
  37.         ),
  38.  
  39.         array(
  40.  
  41.             'name' => 'Home Team Abbreviation',
  42.  
  43.             'desc' => 'Enter home team abbreviation (eg. "PHI")',
  44.  
  45.             'id' => $prefix . 'home_team',
  46.  
  47.             'type' => 'text',
  48.  
  49.         ),
  50.  
  51.         array(
  52.  
  53.             'name' => 'Away Team Score',
  54.  
  55.             'desc' => 'Enter away team score (eg. "10")',
  56.  
  57.             'id' => $prefix . 'away_team_score',
  58.  
  59.             'type' => 'text',
  60.  
  61.       'std' => ' 0'
  62.  
  63.         ),
  64.  
  65.   array(
  66.  
  67.             'name' => 'Home Team Score',
  68.  
  69.             'desc' => 'Enter home team score (eg. "10")',
  70.  
  71.             'id' => $prefix . 'home_team_score',
  72.  
  73.             'type' => 'text',
  74.  
  75.       'std' => ' 0'
  76.  
  77.         ),
  78.  
  79. array(
  80.  
  81.             'name' => 'Home Team Link',
  82.  
  83.             'desc' => 'Enter home team link (profile or page)',
  84.  
  85.             'id' => $prefix . 'home_team_link',
  86.  
  87.             'type' => 'text',
  88.  
  89.         'std' => ' 0'
  90.  
  91.         ),
  92.  
  93.     array(
  94.  
  95.             'name' => 'Away Team Link',
  96.  
  97.             'desc' => 'Enter away team link (profile or page)',
  98.  
  99.             'id' => $prefix . 'away_team_link',
  100.  
  101.             'type' => 'text',
  102.  
  103.         'std' => ' 0'
  104.  
  105.         )  
  106.  
  107.     )
  108.    
  109. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement