hello
Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : chryzalihi ( 621211) PHP Version : 8.3.31 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Directory : /home/c/h/r/chryzalihi/www/wp-contentOLD/themes/rakiya/content/ |
<article <?php hybrid_attr( 'post' ); ?>> <?php if ( is_attachment() ) : // If viewing a single attachment. ?> <?php if ( has_excerpt() ) : // If the image has an excerpt/caption. ?> <?php $src = wp_get_attachment_image_src( get_the_ID(), 'full' ); ?> <?php echo img_caption_shortcode( array( 'align' => 'aligncenter', 'width' => esc_attr( $src[1] ), 'caption' => get_the_excerpt() ), wp_get_attachment_image( get_the_ID(), 'full', false ) ); ?> <?php else : // If the image doesn't have a caption. ?> <?php echo wp_get_attachment_image( get_the_ID(), 'full', false, array( 'class' => 'aligncenter' ) ); ?> <?php endif; // End check for image caption. ?> <header class="entry-header"> <h1 <?php hybrid_attr( 'entry-title' ); ?>><?php single_post_title(); ?></h1> <div class="entry-byline"> <span class="image-sizes"><?php printf( esc_html__( 'Sizes: %s', 'rakiya' ), hybrid_get_image_size_links() ); ?></span> </div><!-- .entry-byline --> </header><!-- .entry-header --> <div <?php hybrid_attr( 'entry-content' ); ?>> <?php the_content(); ?> <?php wp_link_pages(); ?> </div><!-- .entry-content --> <footer class="entry-footer"> <time <?php hybrid_attr( 'entry-published' ); ?>><?php echo get_the_date(); ?></time> <?php edit_post_link(); ?> </footer><!-- .entry-footer --> <?php else : // If not viewing a single post. ?> <?php get_the_image(); ?> <header class="entry-header"> <?php the_title( '<h2 ' . hybrid_get_attr( 'entry-title' ) . '><a href="' . get_permalink() . '" rel="bookmark" itemprop="url">', '</a></h2>' ); ?> </header><!-- .entry-header --> <div <?php hybrid_attr( 'entry-summary' ); ?>> <?php the_excerpt(); ?> </div><!-- .entry-summary --> <?php endif; // End single attachment check. ?> </article><!-- .entry --> <?php if ( is_attachment() ) : // If viewing a single attachment. ?> <div class="attachment-meta"> <div class="media-info image-info"> <h3 class="attachment-meta-title"><?php esc_html_e( 'Image Info', 'rakiya' ); ?></h3> <ul class="media-meta"> <?php $pre = '<li><span class="prep">%s</span>'; ?> <?php hybrid_media_meta( 'dimensions', array( 'before' => sprintf( $pre, esc_html__( 'Dimensions', 'rakiya' ) ), 'after' => '</li>' ) ); ?> <?php hybrid_media_meta( 'created_timestamp', array( 'before' => sprintf( $pre, esc_html__( 'Date', 'rakiya' ) ), 'after' => '</li>' ) ); ?> <?php hybrid_media_meta( 'camera', array( 'before' => sprintf( $pre, esc_html__( 'Camera', 'rakiya' ) ), 'after' => '</li>' ) ); ?> <?php hybrid_media_meta( 'aperture', array( 'before' => sprintf( $pre, esc_html__( 'Aperture', 'rakiya' ) ), 'after' => '</li>' ) ); ?> <?php hybrid_media_meta( 'focal_length', array( 'before' => sprintf( $pre, esc_html__( 'Focal Length', 'rakiya' ) ), 'after' => '</li>', 'text' => esc_html__( '%s mm', 'rakiya' ) ) ); ?> <?php hybrid_media_meta( 'iso', array( 'before' => sprintf( $pre, esc_html__( 'ISO', 'rakiya' ) ), 'after' => '</li>' ) ); ?> <?php hybrid_media_meta( 'shutter_speed', array( 'before' => sprintf( $pre, esc_html__( 'Shutter Speed', 'rakiya' ) ), 'after' => '</li>', 'text' => esc_html__( '%s sec', 'rakiya' ) ) ); ?> <?php hybrid_media_meta( 'file_type', array( 'before' => sprintf( $pre, esc_html__( 'Type', 'rakiya' ) ), 'after' => '</li>' ) ); ?> <?php hybrid_media_meta( 'file_name', array( 'before' => sprintf( $pre, esc_html__( 'Name', 'rakiya' ) ), 'after' => '</li>' ) ); ?> <?php hybrid_media_meta( 'mime_type', array( 'before' => sprintf( $pre, esc_html__( 'Mime Type', 'rakiya' ) ), 'after' => '</li>' ) ); ?> </ul> </div><!-- .media-info --> <?php $gallery = gallery_shortcode( array( 'columns' => 4, 'numberposts' => 8, 'orderby' => 'rand', 'id' => get_queried_object()->post_parent, 'exclude' => get_the_ID() ) ); ?> <?php if ( $gallery ) : // Check if the gallery is not empty. ?> <div class="image-gallery"> <h3 class="attachment-meta-title"><?php esc_html_e( 'Gallery', 'rakiya' ); ?></h3> <?php echo $gallery; ?> </div> <?php endif; // End gallery check. ?> </div><!-- .attachment-meta --> <?php endif; // End single attachment check. ?>