HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/meysamkiani.com/root/wp-content/themes/author/content-attachment.php
<div <?php post_class(); ?>>
	<?php do_action( 'attachment_before' ); ?>
	<article>
		<div class='post-header'>
			<h1 class='post-title'><?php the_title(); ?></h1>
		</div>
		<div class="post-content">
			<?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'] ) ); ?>
		</div>
	</article>
	<?php do_action( 'attachment_after' ); ?>
	<?php get_template_part( 'content/post-nav-attachment' ); ?>
	<?php comments_template(); ?>
</div>