HEX
Server: Apache
System: Linux webserver101.turnkeywebspace.com 4.18.0-553.81.1.el8_10.x86_64 #1 SMP Mon Oct 27 11:29:19 EDT 2025 x86_64
User: mastech10 (1521)
PHP: 8.2.30
Disabled: show_source,system,shell_exec,passthru,exec,phpinfo,popen,proc_open,eval
Upload Files
File: /home/mastech10/www/runntrail.com/wp-content/themes/royale-news/template-parts/content-single.php
<?php
/**
 * Template part for displaying posts.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package Royale_News
 */

$royale_news_display_featured_image = royale_news_get_option( 'royale_news_post_single_enable_featured_img' );
?>
<div class="col-md-12">
	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
		<div class="news-section-info clearfix">
			<h3 class="section-title"><?php the_title(); ?></h3><!-- .section-title -->
		</div><!-- .news-section-info -->
		<div class="single-news-content">
			<?php
			if (
				has_post_thumbnail() &&
				( 1 === $royale_news_display_featured_image || true === $royale_news_display_featured_image )
			) {
				?>
				<div class="news-image">
					<?php
					the_post_thumbnail(
						'full',
						array(
							'class' => 'img-responsive',
							'alt'   => the_title_attribute(
								array(
									'echo' => false,
								)
							),
						)
					);
					?>
				</div><!-- .news-image -->
				<?php
			}
			?>
			<div class="news-detail clearfix">
				<div class="entry-meta">  
					<?php royale_news_get_date(); ?>
					<?php royale_news_get_author(); ?>
					<?php royale_news_get_categories(); ?>				
				</div><!-- .entry-meta -->
				<div class="news-content editor-content-entry">
					<?php
					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>', 'royale-news' ),
								array(
									'span' => array(
										'class' => array(),
									),
								)
							),
							get_the_title()
						)
					);

					wp_link_pages(
						array(
							'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'royale-news' ),
							'after'  => '</div>',
						)
					);
					?>
				</div><!-- .news-content -->							        
			</div><!-- .news-detail.clearfix -->
		</div><!-- .single-news-content -->
	</article><!-- #post-<?php the_ID(); ?> -->
</div>