Is there any way to display the flags(logo) of teams next to their names on the ranking table?
I tried to figure it out by looking at class-football-pool-matches.php and copying some code(wherever the term “flag” appeared) from there, into class-football-pool-groups.php for about 5 hours, but my php skills are close to NONE.
After many trials and errors, the closer I got(I believe), was leaving just the code below to class-football-pool-groups.php after line:375, but still no success:
$output .= sprintf( '<td class="flag">%s</td>', $teams->flag_image( (integer) $row['teamId'] ) );
I wonder if you could help me a bit with this issue(unless it requires a lot of code writting)!
- The topic ‘Team flags(logos) on the groups page & Group shortcode’ is closed to new replies.