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-image.php

<?php global $blog_masonry, $grid_column, $framework_allowed_tags;
$options = get_option('imic_options');
$image = $title = $content = $meta_data = $comment = '';
$image_size = '600x400';
if (has_post_thumbnail())
{
    $image .= '<div class="post-media">';
    if (is_single())
    {
        $image .= '' . get_the_post_thumbnail(get_the_ID() , $image_size, array(
            'class' => 'post-thumb'
        )) . '';
    }
    else
    {
        $image .= '<a href="' . esc_url(get_permalink(get_the_ID())) . '" class="media-box">' . get_the_post_thumbnail(get_the_ID() , $image_size, array(
            'class' => 'post-thumb'
        )) . '</a>';
    }
    $image .= '</div>';
}
$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">' . __(' 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-image'); ?>>
<?php echo wp_kses($image, $framework_allowed_tags); ?>
                                <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>' . __('No comments yet', 'framework') , '<i class="fa fa-comment"></i>1', '<i class="fa fa-comment"></i>%', 'pull-right meta-data', 'comments-link', __('Comments are off for this post', 'framework'));
    } ?></span>
                               		<a href="<?php echo esc_url(get_permalink(get_the_ID())); ?>" class="basic-link"><?php _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>' . __('', 'framework') , '<i class="icon-dialogue-text"></i>', '<i class="icon-dialogue-text"></i>', 'comments-go', 'comments-link', __('', 'framework'));
    } ?>
<?php echo wp_kses($title_single, $framework_allowed_tags); ?></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($image, $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>';
    } ?>
<?php
}
else
{ ?>
<li class="col-md-<?php echo esc_attr($grid_column); ?> col-sm-6 blog-item grid-item format-standard">
                            <div class="grid-item-inner">
                            	<?php echo wp_kses($image, $framework_allowed_tags); ?>
                                <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>' . __('No comments yet', 'framework') , '<i class="fa fa-comment"></i>1', '<i class="fa fa-comment"></i>%', 'pull-right meta-data', 'comments-link', __('Comments are off for this post', 'framework'));
    } ?>
                            		<a href="<?php echo esc_url(get_permalink(get_the_ID())); ?>" class="basic-link"><?php _e('Read post', 'framework'); ?></a>
                                </div>
                            </div>
                        </li>
<?php
} ?>

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