• Hi,

    i want remove links (on thumb and on player name)
    created on players gallery. i don’t want single player statistic now.
    is it possibile?

    Is there a possibility to add the flag row on player gallery :

    PHOTO
    player name
    *flag*

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Robert Fortaleza

    (@robfrtlz)

    Hi @fanto78,

    Good day! Thanks for writing in.

    Currently, those are not yet supported. You’ll need custom coding to achieve those features, sorry.

    Please let me know if you have additional questions.

    Thread Starter fanto78

    (@fanto78)

    thank you for your answer…

    custom code into class-wpcm-shortcode-player-gallery.php?

            if ( $players ) {
    
                $player_details = array();
    
                foreach ( $players as $player ) {
    
                    $player_details[ $player->ID ] = array();
    
                    $player_details[ $player->ID ]['id'] = $player->ID;
    
                    $player_stats = get_wpcm_player_stats( $player->ID );
    
                    $thumb        = wpcm_get_player_thumbnail( $player->ID, 'player_full' );
                    $url          = get_permalink( $player->ID );
                    $player_title = get_player_title( $player->ID, $name_format );
    
                    $player_details[ $player->ID ]['image'] = apply_filters( 'wpclubmanager_player_gallery_image', '<a href="' . esc_url( $url ) . '">' . $thumb . '</a>', $url, $thumb );
    
                    $player_details[ $player->ID ]['title'] = apply_filters( 'wpclubmanager_player_gallery_title', '<a href="' . esc_url( $url ) . '">' . wp_kses_post( $player_title ) . '</a>', $url, $player_title );

    removing those <a href …> </a> statement don’t change the result …..
    or shortcode need to be regenerated?

    • This reply was modified 2 months, 2 weeks ago by fanto78.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.