Modify function to retrieve multiple posts from single meta key

This commit is contained in:
Takumi
2013-07-26 00:36:30 +10:00
parent 1edf37c310
commit f600617fc1
2 changed files with 4 additions and 5 deletions

View File

@@ -59,7 +59,7 @@ function sp_player_custom_columns( $column, $post_id ) {
echo '—';
break;
case 'sp_team':
sp_unserialized_posts( $post_id, 'sp_teams', '', '<br />' );
sp_the_posts( $post_id, 'sp_team', '', '<br />' );
break;
case 'sp_league':
if ( get_the_terms ( $post_id, 'sp_league' ) )