Sindbad~EG File Manager

Current Path : /home/sabarigirihospit/public_html/wp-content/themes/inmedical/
Upload File :
Current File : /home/sabarigirihospit/public_html/wp-content/themes/inmedical/content.php

<?php
/**
 * The default template for displaying content
 * @package inmedical
 */
$authordata = Inwave_Helper::getAuthorData();
$inwave_theme_option = Inwave_Helper::getConfig();
$show_post_infor = 	(isset($inwave_theme_option['show_post_author']) && $inwave_theme_option['show_post_author'])
				|| 	(isset($inwave_theme_option['blog_category_title_listing']) && $inwave_theme_option['blog_category_title_listing'])
				|| 	(isset($inwave_theme_option['show_post_comment']) && $inwave_theme_option['show_post_comment']);
?>
<article id="post-<?php echo esc_attr(get_the_ID()); ?>" <?php post_class(); ?>>
    <div class="post-item">
		<div class="post-content">
			<div class="featured-image post-gallery">
				<?php
				$post_format = get_post_format();

				$contents = get_the_content();
				$str_regux = '';
				$showContent = true;
				switch ($post_format) {
					case 'video':
						$video = inwave_getElementsByTag('embed', $contents);
						$str_regux = $video[0];
						if ($video) {
							echo apply_filters('the_content', $video[0]);
							$showContent = false;
						}
						break;
					case 'gallery':
						$gallery = inwave_getElementsByTag('gallery', $contents, 2);
						$str_regux = $gallery[0];
						if ($gallery) {
							echo apply_filters('the_content', $gallery[0]);
							$showContent = false;
						}
						break;
					default:
						if(isset($inwave_theme_option['featured_images_single']) && $inwave_theme_option['featured_images_single']) {
							the_post_thumbnail();
						}
						break;
				}
				?>
			</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
						the_excerpt();
						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>' ) );
						?>
					</div>
					
					<div class="clearfix"></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