<?php
/**
 * Template part for displaying single posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package dro_web_trader
 */
?>

<article  id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<div class="col-12">
		<header class="row entry-header">
			<div class="col-12">
				<h4 class="posted_category"><?php dro_web_trader_cat(); ?></h4>
			</div>
			<?php
			the_title( '<h1 class=" col-12  entry-title">', '</h1>' );
			?>
			<div class="col-12 entry-meta">
				<?php
				dro_web_trader_posted_by();
				dro_web_trader_posted_on();
				?>
			</div><!-- .entry-meta -->
		</header><!-- .entry-header -->
	</div>
	<?php
	if ( has_post_thumbnail() ) {

		dro_web_trader_post_thumbnail();
	}
	?>


	<div class="col-12 entry-content">
		<?php
		add_filter( 'the_content', 'dro_web_trader_related_posts_cat' );
		the_content(
			sprintf(
				wp_kses(
								/* translators: %s: Name of current post. Only visible to screen readers */
					__( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'dro-web-trader' ),
					array(
						'span' => array(
							'class' => array(),
						),
					)
				),
				get_the_title()
			)
		);

		wp_link_pages(
			array(
				'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'dro-web-trader' ),
				'after'  => '</div>',
			)
		);
		?>
	</div><!-- .entry-content -->

	<footer  class="col-12 entry-footer">
		<?php dro_web_trader_post_tags(); ?>
	</footer><!-- .entry-footer -->
</article><!-- #post-<?php the_ID(); ?> -->


