Current File : /home/kelaby89/muzza.fit/wp-content/themes/deadlift/templates/components/post/related-posts.php
<?php
/**
 * Template part for displaying related posts on single post page
 *
 * @package WordPress
 * @subpackage Deadlift
 * @version 1.8.2
 */
$related_posts_query = deadlift_related_post_query();

if ( ! $related_posts_query ) {
	return;
}
?>
<section class="related-post-container entry-section">
	<div class="related-posts clearfix"><?php if ( $related_posts_query->have_posts() ) : ?>
			<h3 class="related-post-title">
			<?php
			/**
			 * The "more post" text filter
			 *
			 * @since 1.0.0
			 */
			echo esc_html( apply_filters( 'deadlift_related_posts_text', esc_html__( 'More Posts', 'deadlift' ) ) );
			?>
			</h3>
			<?php
			while ( $related_posts_query->have_posts() ) :
				$related_posts_query->the_post();
				/**
				 * Include the template part for the entry content.
				 */
				get_template_part( deadlift_get_template_dirname() . '/components/post/content', 'related' );
			endwhile;
	endif;
										?>
	</div><!-- .related-posts -->
</section><!-- .related-post-container -->
<?php wp_reset_postdata(); ?>
Page not found – Hello World !