HEX
Server: LiteSpeed
System: Linux premium321.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: paksjuts (1314)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/paksjuts/www/wp-content/themes/tracks/content-attachment.php
<div class='entry'>
	<div class="entry-meta">
		<span class="date"><?php echo date_i18n( get_option( 'date_format' ), strtotime( get_the_date( 'c' ) ) ); ?> / </span>
		<span class="author"><?php the_author_posts_link(); ?></span>
	</div>
	<div class='entry-header'>
		<h1 class='entry-title'><?php the_title(); ?></h1>
	</div>
	<div class="entry-container">
		<div class="entry-content">
			<article>
				<?php
				$image = wp_get_attachment_image($post->ID, 'full');
				$image_meta = wp_prepare_attachment_for_js($post->ID);
				?>
				<div class="attachment-container">
					<?php echo $image; ?>
					<span class="attachment-caption">
					<?php echo esc_html( $image_meta['caption'] ); ?>
				</span>
				</div>
				<?php echo wpautop( esc_html( $image_meta['description'] ) ); ?>
			</article>
			<nav class='further-reading'>
				<p class='prev'>
					<span><?php previous_image_link( false, esc_html__( 'Previous Image', 'tracks' ) ); ?></span>
				</p>
				<p class='next'>
					<span><?php next_image_link( false, esc_html__( 'Next Image', 'tracks' ) ); ?></span>
				</p>
			</nav>
		</div>
	</div>
</div>