Display teams as link list in league table teams column

This commit is contained in:
Brian Miyaji
2014-03-18 09:31:50 +11:00
parent 1aa1cb56ec
commit ee33f7b630
2 changed files with 4 additions and 0 deletions

View File

@@ -467,6 +467,8 @@ if ( !function_exists( 'sportspress_posts' ) ) {
endforeach;
endif;
$title = get_the_title( $id );
if ( ! $title )
continue;
if ( empty( $title ) )
$title = __( '(no title)', 'sportspress' );
edit_post_link( $title, '', '', $id );