<?php
/**
 * @package WordPress
 * @subpackage Campoal
 */

global $campoal_options;
global $post;

$mobile_progress_bar = isset($campoal_options['conikal_mobile_progress_bar_field']) ? $campoal_options['conikal_mobile_progress_bar_field'] : 'sidebar';

if (wp_is_mobile() && $mobile_progress_bar == 'thumbnail' || $mobile_progress_bar == 'both') { ?>
    <div class="ui secondary basic segment content-supporter-progress">
    <?php echo conikal_progressive_shortcode(array(
        'id' => $post->ID,
        'label' => '',
        'size' => 'tiny',
        'show_label' => 'both'
    )); ?>
    </div>
<?php } ?>