Filter players in events by current team. Reported in https://app.asana.com/0/11138574964139/11138574964225
This commit is contained in:
@@ -171,8 +171,8 @@ function sportspress_event_team_meta( $post ) {
|
|||||||
<li class="wp-tab"><a href="#sp_staff-all"><?php _e( 'Staff', 'sportspress' ); ?></a></li>
|
<li class="wp-tab"><a href="#sp_staff-all"><?php _e( 'Staff', 'sportspress' ); ?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<?php
|
<?php
|
||||||
sportspress_post_checklist( $post->ID, 'sp_player', 'block', 'sp_team', $key );
|
sportspress_post_checklist( $post->ID, 'sp_player', 'block', 'sp_current_team', $key );
|
||||||
sportspress_post_checklist( $post->ID, 'sp_staff', 'none', 'sp_team', $key );
|
sportspress_post_checklist( $post->ID, 'sp_staff', 'none', 'sp_current_team', $key );
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user