<?php
/**
 * Template part for displaying Single Post/Blog Content
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package IS-Medify
 * 
 * @since 1.0.0
 * 
*/
?>
<div class="row post-area">
    <div <?php post_class(); ?>>
        <?php if( has_post_thumbnail() ) : ?>
            <div class="col-md-12 no-pad">
                <div class="img-thumbnail gallery">
                    <?php 
                    $data = array('class' =>'img-responsive'); 
                    the_post_thumbnail('is-medify-post-thumb', $data); 
                    ?>
                    <div class="overlay">
                        <div class="overlay-icon">
                            <a rel="prettyPhoto[post]" href="<?php echo esc_url(wp_get_attachment_url(get_post_thumbnail_id())); ?>"><i class="fa fa-search"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        <?php endif; ?>
            <div class="col-md-12 border">
                <div class="post_title">
                    <h3><?php the_title(); ?></h3>
                </div>
                <div class="post-tags"> 
                    <?php the_tags(' <ul> Tags :<li>', '</li><li>', '</li></ul>'); ?>
                </div>
                <div class="post_meta">
                    <div class="date1"><span class="fa fa-clock-o"> </span>
                        <?php echo get_the_date(); ?> | 
                        <span class="fa fa-comment-o"></span> 
                        <?php echo esc_html_e( comments_number(__('No Comments','is-medify'), __('1 Comment','is-medify'), '% Comments') ); ?>
                    </div>
                </div> 
                 <?php if( get_the_category_list() != '' ) { ?>
                <div class="category"><b><?php esc_html_e('Categories :','is-medify'); ?></b><?php the_category(' , '); ?></div>
                 <?php } ?>
                <div class="post_content">
                    <?php the_content(); ?>
                </div>
                <?php $defaults = array(
                    'before'           => '<p>' . __( 'Pages:','is-medify' ),
                    'after'            => '</p>',
                    'link_before'      => '',
                    'link_after'       => '',
                    'next_or_number'   => 'number',
                    'separator'        => ' ',
                    'nextpagelink'     => __( 'Next page','is-medify'),
                    'previouspagelink' => __( 'Previous page','is-medify' ),
                    'pagelink'         => '%',
                    'echo'             => 1
                    );
                //wp_link_pages( $defaults ); ?>
            </div>
    </div>
</div>





 