Viewing File: /home/maglabs/lacentraleit/wp-content/themes/mlab/tmpl/post/content-single.php

<?php
defined( 'ABSPATH' ) or die();

$featured_background_types = (array) mlab_option( 'header__titlebar__backgroundFeatured' );
$current_post_type         = mlab_current_post_type();
$show_featured_image       = ! in_array( $current_post_type, $featured_background_types ) && has_post_thumbnail();
?>

<article id="post-<?php the_ID() ?>" <?php post_class( 'post' ) ?>>
	<div class="share sticky-element"><?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT(); } ?></div>
	<div class="post-content" itemprop="text">
		<?php if ( $show_featured_image ): ?>
		   <div class="post-thumbnail"><?php the_post_thumbnail( 'post-thumbnail' ) ?></div>
		<?php endif ?>

		<div class="post-categories">
			<span><?php esc_html_e( 'In:', 'mlab' ) ?></span>
			<?php the_category( _x( ', ', 'Used between list items, there is a space after the comma.', 'mlab' ) ) ?>
		</div>

		<?php the_content() ?>

		<?php
		wp_link_pages( array(
			'before'      => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'mlab' ) . '</span>',
			'after'       => '</div>',
			'link_before' => '<span>',
			'link_after'  => '</span>',
		) );
		?>
	</div>
	<?php if ( mlab_option( 'blog__single__postTags' ) == 'on' ): ?>
		<div class="post-tags"><?php the_tags( '', '' ); ?></div>
	<?php endif ?>

	<?php if ( mlab_option( 'blog__single__postAuthor' ) == 'on' ): ?>
		<?php get_template_part( 'tmpl/post/content-author' ) ?>
	<?php endif ?>
</article>
<!-- /#post-<?php echo get_the_ID() ?> -->
Back to Directory File Manager