Refactor officials as custom post type

This commit is contained in:
Brian Miyaji
2017-11-01 16:44:28 +11:00
parent 80cdb3c228
commit 70dd825ba7
14 changed files with 1020 additions and 120 deletions

View File

@@ -60,7 +60,7 @@ class SportsPress_Birthdays {
global $typenow;
if ( 'default' == $domain && in_array( $typenow, array( 'sp_player', 'sp_staff' ) ) ):
if ( 'default' == $domain && in_array( $typenow, array( 'sp_player', 'sp_staff', 'sp_official' ) ) ):
switch ( $untranslated_text ):
case 'Scheduled for: <b>%1$s</b>':
case 'Published on: <b>%1$s</b>':