Match list team filter missing from code
-
Not sure if this is also covered in the next version, but there also seems to be some constraints in the match_list shortcode, that means filtering by a single team is not possible.
Fixed by adding the following lines to wp-club-manager/includes/shortcodes/class-wpcm-shortcode-match-list.php
Line 30
$team = ( isset( $atts['team'] ) ? $atts['team'] : '' );
Line 46
if( $team == '' ) $team = null;
Line 114
if ( isset( $team ) ) { $query_args['tax_query'][] = array( 'taxonomy' => 'wpcm_team', 'terms' => $team, 'field' => 'term_id' ); }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Match list team filter missing from code’ is closed to new replies.