Support » Plugin: SportsPress - Sports Club & League Manager » Team Logo in table

  • Sorry to re-open the same topic about

    https://wordpress.org/support/topic/team-logo-in-table/

    I suggested this feature and it seems that you implemented it in the 2.6.15 (I wasn’t aware about that till now).
    I tried to change the first time with the code you suggested but at leasti for me it wasn’t showing the Teams logo.

    Now the code has slightly differences beetween the old code you suggested and the new code I have on my site.

    The assets/css/sportspress.css part are identical

    The modules/sportspress-player-lists.php change in two little things “Teeams” now is “Teams”, “Display Teams Logos” now is “Display logos” (They are title and description so I suppose they are not relevant)

    The templates/player-list.php is really different
    In the actual versione the line
    25 ‘show_teams_logo’ => get_option( ‘sportspress_list_show_logos’, ‘no’ ) == ‘yes’ ? true : false,
    wasn’t into the php so I added it.

    Another line too is different

    ACTUAL CODE
    if ( $team_format == ‘logo’ && has_post_thumbnail( $team ) ){

    OLD SUGGESTED CODE
    if ( $show_teams_logo && has_post_thumbnail( $team ) ){

    Can you help me to solve this issue?

    Thanks and sorry for the poor english

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Team Logo in table’ is closed to new replies.