<?php
/**
 * The template for displaying single posts.
 *
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> <?php lovewp_article_schema( 'CreativeWork' ); ?>>
	<div class="inside-article">
		<?php
		/**
		 * lovewp_before_content hook.
		 *
		 *
		 * @hooked lovewp_featured_page_header_inside_single - 10
		 */
		do_action( 'lovewp_before_content' );
		?>

		<header class="entry-header">
			<?php
			/**
			 * lovewp_before_entry_title hook.
			 *
			 */
			do_action( 'lovewp_before_entry_title' );

			if ( lovewp_show_title() ) {
				the_title( '<h1 class="entry-title" itemprop="headline">', '</h1>' );
			}

			/**
			 * lovewp_after_entry_title hook.
			 *
			 *
			 * @hooked lovewp_post_meta - 10
			 */
			do_action( 'lovewp_after_entry_title' );
			?>
		</header><!-- .entry-header -->

		<?php
		/**
		 * lovewp_after_entry_header hook.
		 *
		 *
		 * @hooked lovewp_post_image - 10
		 */
		do_action( 'lovewp_after_entry_header' );
		?>

		<div class="entry-content" itemprop="text">
			<?php
			the_content();

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

		<?php
		/**
		 * lovewp_after_entry_content hook.
		 *
		 *
		 * @hooked lovewp_footer_meta - 10
		 */
		do_action( 'lovewp_after_entry_content' );

		/**
		 * lovewp_after_content hook.
		 *
		 */
		do_action( 'lovewp_after_content' );
		?>
	</div><!-- .inside-article -->
</article><!-- #post-## -->
