HEX
Server: nginx/1.26.1
System: Linux main-vm 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
User: root (0)
PHP: 8.2.19
Disabled: NONE
Upload Files
File: /var/www/bellecouture/wp-content/themes/yena/image.php
<?php
/**
 * The template for displaying image attachments.
 *
 * Learn more: https://codex.wordpress.org/Template_Hierarchy
 *
 * @package Yena WordPress theme
 */

get_header(); ?>

    <?php do_action( 'yena/action/before_content_wrap' ); ?>

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

        <?php do_action( 'yena/action/before_primary' ); ?>

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

            <?php do_action( 'yena/action/before_content' ); ?>

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

                <?php do_action( 'yena/action/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">

                            <?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( 'yena/action/after_content_inner' ); ?>

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

            <?php do_action( 'yena/action/after_content' ); ?>

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

        <?php do_action( 'yena/action/after_primary' ); ?>

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

    <?php do_action( 'yena/action/after_content_wrap' ); ?>

<?php get_footer(); ?>