PATH:
home
/
lab2454c
/
adenbic.com
/
wp-content
/
themes
/
leather_market
<?php /** * The template for displaying image attachments * * @package WordPress * @subpackage TemplateMela * @since TemplateMela 1.0 */ // Retrieve attachment metadata. $metadata = wp_get_attachment_metadata(); get_header(); ?> <?php if (get_option('tmpmela_page_sidebar') == 'yes') : ?> <section id="primary" class="content-area image-attachment"> <?php else : ?> <section id="primary" class="main-content-inner-full image-attachment"> <?php endif; ?> <div id="content" class="site-content" role="main"> <?php // Start the Loop. while ( have_posts() ) : the_post(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="entry-main-content"> <header class="entry-header"> <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> </header> <!-- .entry-header --> <div class="entry-attachment"> <div class="attachment"> <?php tmpmela_the_attached_image(); ?> </div><!-- .attachment --> <?php if ( has_excerpt() ) : ?> <div class="entry-caption"> <?php the_excerpt(); ?> </div><!-- .entry-caption --> <?php endif; ?> </div><!-- .entry-attachment --> <?php the_content(); wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'leather-market' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>', ) ); ?> </div><!-- .entry-content --> <div class="entry-meta"> <?php tmpmela_entry_date(); ?> <div class="meta-inner"><span class="full-size-link"><i class="fa fa-square"></i><a href="<?php echo esc_url(wp_get_attachment_url()); ?>"><?php echo esc_html($metadata['width']); ?> × <?php echo esc_html($metadata['height']); ?></a></span></div> <div class="meta-inner"><span class="parent-post-link"><i class="fa fa-comment-o" ></i><a href="<?php echo esc_url(get_permalink( $post->post_parent )); ?>" rel="gallery"><?php echo esc_html(get_the_title( $post->post_parent )); ?></a></span></div> <?php edit_post_link( esc_html__( 'Edit', 'leather-market' ), '<span class="edit-link"><i class="fa fa-pencil"></i>', '</span>' ); ?> </div> </article> <!-- #post-## --> <nav id="image-navigation" class="navigation image-navigation"> <div class="nav-links"> <?php previous_image_link( false, '<div class="previous-image">' . esc_html__( 'Previous Image', 'leather-market' ) . '</div>' ); ?> <?php next_image_link( false, '<div class="next-image">' . esc_html__( 'Next Image', 'leather-market' ) . '</div>' ); ?> </div><!-- .nav-links --> </nav> <!-- #image-navigation --> <?php comments_template(); ?> <?php endwhile; // end of the loop. ?> </div><!-- #content --> </section><!-- #primary --> <?php if (get_option('tmpmela_page_sidebar') == 'yes') : get_sidebar( 'content' ); get_sidebar(); endif; ?> <!--main-content-inner --> <?php get_footer(); ?>
[-] category.php
[edit]
[+]
woocommerce
[+]
js
[-] content-none.php
[edit]
[-] sidebar-content.php
[edit]
[-] content-video.php
[edit]
[-] search.php
[edit]
[-] responsive.css
[edit]
[-] index.php
[edit]
[-] page.php
[edit]
[+]
..
[-] author-bio.php
[edit]
[-] sidebar.php
[edit]
[-] rtl.css
[edit]
[-] content-aside.php
[edit]
[-] content-link.php
[edit]
[+]
languages
[-] content-audio.php
[edit]
[-] single.php
[edit]
[-] footer.php
[edit]
[-] content-featured-post.php
[edit]
[-] tag.php
[edit]
[-] sidebar-footer.php
[edit]
[-] single-portfolio.php
[edit]
[-] header.php
[edit]
[-] style.css
[edit]
[+]
css
[-] 404.php
[edit]
[-] readme.txt
[edit]
[-] author.php
[edit]
[-] content-gallery.php
[edit]
[-] content-image.php
[edit]
[-] screenshot.png
[edit]
[+]
fonts
[-] content-quote.php
[edit]
[+]
page-templates
[-] content-page.php
[edit]
[+]
templatemela
[-] functions.php
[edit]
[+]
images
[-] featured-content.php
[edit]
[-] taxonomy-post_format.php
[edit]
[-] archive.php
[edit]
[-] content.php
[edit]
[-] comments.php
[edit]
[+]
demo-content
[-] image.php
[edit]
[+]
inc
[-] mr-image-resize.php
[edit]