$gdlr_sidebar = array('type' => $gdlr_post_option['sidebar'], 'left-sidebar' => $gdlr_post_option['left-sidebar'], 'right-sidebar' => $gdlr_post_option['right-sidebar']);
}
$gdlr_sidebar = gdlr_get_sidebar_class($gdlr_sidebar);
$social_type = 'dark';
$player_val = gdlr_lms_decode_preventslashes(get_post_meta(get_the_ID(), 'gdlr-soccer-player-settings', true));
$player_options = empty($player_val) ? array() : json_decode($player_val, true);
?>
	
	<!-- player info -->
	<div class="gdlr-soccer-player-general-info-wrapper">
		<div class="gdlr-soccer-player-general-info-container container">
			<div class="gdlr-soccer-player-general-info-inner gdlr-item">
				<div class="gdlr-soccer-player-general-info-left">
					<div class="gdlr-soccer-player-general-info-left-overlay"></div>
					<?php 
echo gdlr_soccer_get_player_avatar();
?>
					<h1 class="gdlr-soccer-player-title"><?php 
the_title();
?>
</h1>
					<h4 class="gdlr-soccer-player-title-info">
						<span class="gdlr-soccer-player-squad" ><?php 
echo $player_options['player-info']['squad'];
?>
</span>
						<span class="gdlr-soccer-player-position" ><?php 
echo $player_options['player-info']['position'];
?>
</span>
					</h4>
function gdlr_print_modern_carousel_player($query, $size, $thumbnail_size)
{
    echo '<div class="gdlr-item gdlr-modern-player-carousel-wrapper">';
    echo '<div class="flexslider" data-type="carousel" data-nav-container="player-item-holder" data-columns="' . $size . '" >';
    echo '<ul class="slides" >';
    while ($query->have_posts()) {
        $query->the_post();
        $player_val = gdlr_lms_decode_preventslashes(get_post_meta(get_the_ID(), 'gdlr-soccer-player-settings', true));
        $player_options = empty($player_val) ? array() : json_decode($player_val, true);
        echo '<li class="gdlr-item gdlr-modern-player">';
        echo gdlr_soccer_get_player_avatar($thumbnail_size);
        echo '<div class="gdlr-modern-player-item-content">';
        echo '<a href="' . get_permalink() . '" >';
        echo '<span class="gdlr-modern-player-item-overlay"></span>';
        echo '<span class="gdlr-modern-player-item-content-inner">';
        echo '<span class="gdlr-soccer-player-squad gdlr-title-font" >' . $player_options['player-info']['squad'] . '</span>';
        echo '<span class="gdlr-soccer-player-title gdlr-title-font">' . get_the_title() . '</span>';
        echo '<span class="gdlr-soccer-player-position">' . $player_options['player-info']['position'] . '</span>';
        echo '</span>';
        // modern-player-item-content-inner
        echo '</a>';
        echo '</div>';
        // modern-player-item-content
        echo '</li>';
        // gdlr-item
    }
    echo '</ul>';
    echo '</div>';
    // flexslider
    echo '</div>';
    // gdlr-item
    wp_reset_postdata();
}