Sindbad~EG File Manager

Current Path : /home/copmadinaarea/www/wp-content__80fcb17/themes/AdoreChurch/
Upload File :
Current File : /home/copmadinaarea/www/wp-content__80fcb17/themes/AdoreChurch/content-audio.php

<?php
global $blog_masonry, $grid_column, $framework_allowed_tags;
$options = get_option('imic_options');
$audio_url = get_post_meta(get_the_ID() , 'imic_gallery_uploaded_audio', true);
if (strpos($audio_url, 'soundcloud') > 0)
{
    $data = imic_audio_soundcloud($audio_url, "100%", 450);
}
else
{
    $data = '<audio class="audio-player" src="' . esc_url($audio_url) . '" type="audio/mp3" controls></audio>';
}
$title = '<h3 class="post-title"><a href="' . esc_url(get_permalink(get_the_ID())) . '">' . get_the_title() . '</a></h3>';
$post_author_id = get_post_field('post_author', get_the_ID());
$meta_data = '<span class="meta-data"><span class="meta-post-date"><i class="fa fa-calendar"></i> ' . esc_html(get_the_date()) . '</span><span class="meta-post-author">' . esc_html__(' by ', 'framework') . '<a href="' . esc_url(get_author_posts_url($post_author_id)) . '">' . esc_attr(get_the_author_meta('display_name', $post_author_id)) . '</a></span></span>';
$posts_excerpt_length = (isset($options['posts_excerpt_length'])) ? $options['posts_excerpt_length'] : 30;
$content = imic_excerpt($posts_excerpt_length);
if ($blog_masonry == 0)
{ ?>
	<article <?php post_class('post-list-item format-audio'); ?>>
		<div class="post-media">
			<?php echo wp_kses($data, $framework_allowed_tags); ?>
		</div>
		<div class="post-excerpt">
			<?php echo wp_kses($meta_data, $framework_allowed_tags); ?>
			<?php echo wp_kses($title, $framework_allowed_tags); ?>
			<?php echo wp_kses($content, $framework_allowed_tags); ?>
			<span class="meta-data post-cats"><?php the_category('| ');
    if (comments_open())
    {
        echo comments_popup_link('<i class="fa fa-comment"></i>' . esc_html__('No comments yet', 'framework') , '<i class="fa fa-comment"></i>1', '<i class="fa fa-comment"></i>%', 'pull-right meta-data', 'comments-link', esc_html__('Comments are off for this post', 'framework'));
    } ?></span>
			<a href="<?php echo esc_url(get_permalink(get_the_ID())); ?>" class="basic-link"><?php esc_html_e('Continue reading', 'framework'); ?></a>
		</div>
	</article>
<?php
}
elseif ($blog_masonry == 2)
{
    $title_single = '<h3 class="post-title">' . get_the_title() . '</h3>'; ?>
	<div class="title-row">
		<?php if (comments_open())
    {
        echo comments_popup_link('<i class="icon-dialogue-text"></i>' . esc_html__('', 'framework') , '<i class="icon-dialogue-text"></i>', '<i class="icon-dialogue-text"></i>', 'comments-go', 'comments-link', esc_html__('', 'framework'));
    } ?>
		<h2><?php echo wp_kses($title_single, $framework_allowed_tags); ?></h2>
	</div>
    <div class="meta-data">
    	<?php echo wp_kses($meta_data, $framework_allowed_tags); ?>
  		<span><i class="fa fa-archive"></i> <?php the_category(', '); ?></span>
  	</div>
   	<div class="post-media">
     	<?php echo wp_kses($data, $framework_allowed_tags); ?>
   	</div>
    <div class="post-content">
   		<?php the_content(); ?>
 	</div>
    <?php if (has_tag())
    {
        echo '<div class="meta-data post-tags">';
        echo '<i class="fa fa-tags"></i> ';
        the_tags('', ', ');
        echo '</div>';
    }
}
else
{ ?>
	<li class="col-md-<?php echo esc_attr($grid_column); ?> col-sm-6 blog-item grid-item format-audio">
   		<div class="grid-item-inner">
        	<div class="post-media">
             	<?php echo wp_kses($data, $framework_allowed_tags); ?>
          	</div>
           	<div class="grid-content">
            	<?php echo wp_kses($title, $framework_allowed_tags); ?>
               	<?php echo wp_kses($content, $framework_allowed_tags); ?>
             	<?php echo wp_kses($meta_data, $framework_allowed_tags); ?>
        	</div>
         	<div class="grid-footer clearfix">
             	<?php if (comments_open())
    {
        echo comments_popup_link('<i class="fa fa-comment"></i>' . esc_html__('No comments yet', 'framework') , '<i class="fa fa-comment"></i>1', '<i class="fa fa-comment"></i>%', 'pull-right meta-data', 'comments-link', esc_html__('Comments are off for this post', 'framework'));
    } ?>
             	<a href="<?php echo esc_url(get_permalink(get_the_ID())); ?>" class="basic-link"><?php esc_html_e('Read post', 'framework'); ?></a>
          	</div>
   		</div>
  	</li>
<?php
} ?>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists