Sindbad~EG File Manager
<?php
/**
* The default template for displaying content gallery
* @package intravel
*/
$authordata = Inwave_Helper::getAuthorData();
$inwave_theme_option = Inwave_Helper::getConfig();
$show_post_infor = inwave_show_post_info();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="post-item">
<div class="post-content">
<div class="featured-image">
<?php the_post_thumbnail(); ?>
</div>
<div class="post-content-detail">
<div class="post-content-head">
<div class="post-head-detail">
<?php if(isset($inwave_theme_option['show_post_date']) && $inwave_theme_option['show_post_date']){ ?>
<div class="post-info-date">
<span class="post-info-day"><?php echo get_the_date("d") ?></span>
<span class="post-info-month"><?php echo get_the_date("M") ?></span>
</div>
<?php } ?>
<div class="post-main-info">
<h3 class="post-title">
<a href="<?php the_permalink(); ?>"><?php the_title('', ''); ?></a>
</h3>
<?php if ($show_post_infor){ ?>
<div class="post-info">
<?php if (is_sticky()){echo '<span class="feature-post">'.esc_html__('Sticky Post', 'inmedical').'</span>';} ?>
<?php if(isset($inwave_theme_option['blog_category_title_listing']) && $inwave_theme_option['blog_category_title_listing']): ?>
<div class="post-info-category">
<?php echo esc_html__('Post in', 'inmedical'); ?> <?php the_category(', ') ?>
</div>
<?php endif; ?>
<?php if(isset($inwave_theme_option['show_post_author']) && $inwave_theme_option['show_post_author']){ ?>
<div class="post-info-author">
<?php echo esc_html__('by', 'inmedical'); ?> <span><?php echo get_the_author_link(); ?></span>
</div>
<?php } ?>
<?php
if(isset($inwave_theme_option['show_post_comment']) && $inwave_theme_option['show_post_comment']){
if (!is_single() && !post_password_required() && (comments_open() || get_comments_number())) {
echo '<div class="post-info-comment">';
comments_popup_link(esc_html__('0 comment', 'inmedical'), esc_html__('1 Comment', 'inmedical'), esc_html__('% Comments', 'inmedical'));
echo '</div>';
}
}
?>
</div>
<?php } ?>
</div>
</div>
</div>
<div class="post-content-desc">
<div class="post-text">
<?php
/* translators: %s: Name of current post */
the_content( sprintf(
'',
the_title( '<span class="screen-reader-text">', '</span>', false )
) );
wp_link_pages( array(
'before' => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'inmedical' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
'pagelink' => '<span class="screen-reader-text">' . esc_html__( 'Page', 'inmedical' ) . ' </span>%',
'separator' => '<span class="screen-reader-text">, </span>',
) );
?>
<div class="clearfix"></div>
</div>
<?php if (isset($inwave_theme_option['show_post_tag']) && $inwave_theme_option['show_post_tag']): ?>
<?php inwave_blog_post_tag(); ?>
<?php endif ?>
<div class="post-content-footer">
<?php echo '<a class="more-link" href="' . esc_url(get_the_permalink()) . '">'.esc_html__('Read more', 'inmedical') .'</a>'; ?>
<?php if($inwave_theme_option['social_sharing_box_category']): ?>
<div class="post-share-buttons-cat">
<?php
inwave_social_sharing_category_listing(get_permalink(), Inwave_Helper::substrword(get_the_excerpt(), 10), get_the_title());
?>
</div>
<?php endif; ?>
</div>
<?php edit_post_link( esc_html__( 'Edit', 'inmedical' ), '<span class="edit-link">', '</span>' );?>
</div>
</div>
</div>
</div>
</article><!-- #post-## -->
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists