Add actions, filters, hooks, and scripts

This commit is contained in:
Takumi
2013-07-24 19:09:02 +10:00
parent e3fb4c69dd
commit 3cade7da5d
17 changed files with 180 additions and 94 deletions

View File

@@ -35,10 +35,16 @@ function sp_table_custom_columns( $column ) {
echo 'TEAMS';
break;
case 'sp_league':
the_terms( $post_id, 'sp_league' );
if ( get_the_terms ( $post_id, 'sp_league' ) )
the_terms( $post_id, 'sp_league' );
else
echo '—';
break;
case 'sp_season':
the_terms( $post_id, 'sp_season' );
if ( get_the_terms ( $post_id, 'sp_season' ) )
the_terms( $post_id, 'sp_season' );
else
echo '—';
break;
endswitch;
endif;