Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.112.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : image.php
<?php
/**
 * The template for displaying image attachments.
 *
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package OceanWP WordPress theme
 */

get_header(); ?>

	<?php do_action( 'ocean_before_content_wrap' ); ?>

	<div id="content-wrap" class="container clr">

		<?php do_action( 'ocean_before_primary' ); ?>

		<div id="primary" class="content-area clr">

			<?php do_action( 'ocean_before_content' ); ?>

			<div id="content" class="site-content">

				<?php do_action( 'ocean_before_content_inner' ); ?>

				<?php
				while ( have_posts() ) :
					the_post();
					?>

					<article <?php post_class( 'image-attachment' ); ?>>
						<p><?php echo wp_get_attachment_image( get_the_ID(), 'full' ); ?></p>
						<div class="entry clr">
							<?php the_content(); ?>
							<?php
							// If comments are open or we have at least one comment, load up the comment template.
							if ( comments_open() || '0' !== get_comments_number() ) :
								comments_template();
							endif;
							?>
						</div><!-- .entry -->
					</article><!-- #post -->

				<?php endwhile; ?>

				<?php do_action( 'ocean_after_content_inner' ); ?>

			</div><!-- #content -->

			<?php do_action( 'ocean_after_content' ); ?>

		</div><!-- #primary -->

		<?php do_action( 'ocean_after_primary' ); ?>

	</div><!-- #content-wrap -->

	<?php do_action( 'ocean_after_content_wrap' ); ?>

<?php get_footer(); ?>
© 2025 XylotrechusZ