PATH:
home
/
lab2454c
/
adenbic.com
/
wp-content
/
themes
/
leather_market
<?php /** * The template for displaying posts in the Image post format * * @package WordPress * @subpackage TemplateMela * @since TemplateMela 1.0 */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="entry-main-content"> <?php if (is_search() || !is_single()) : // Only display Excerpts for Search and not single pages ?> <?php if (has_post_thumbnail() && !post_password_required()) : ?> <div class="entry-thumbnail"> <div class="entry-content-inner"> <a href="<?php esc_url(the_permalink()); ?>" rel="bookmark"> <?php the_post_thumbnail('tmpmela-blog-posts-list'); $postImage = wp_get_attachment_url(get_post_thumbnail_id(get_the_ID())); ?> </a> </div> </div> <?php endif; ?> <div class="post-info <?php if (empty($postImage)): ?> non <?php endif; ?>"> <a href="<?php esc_url(the_permalink()); ?>" rel="bookmark"></a> <?php if ($post->post_title == '') : $entry_meta_class = "empty-entry-header"; else : $entry_meta_class = ""; endif; ?> <div class="entry-header <?php echo esc_attr($entry_meta_class); ?>"> <h3 class="entry-title"><a href="<?php esc_url(the_permalink()); ?>" rel="bookmark"><?php the_title_attribute(); ?></a></h3> <div class="entry-meta date"> <?php tmpmela_post_entry_date(); ?> <?php tmpmela_author_name(); ?> <?php tmpmela_sticky_post(); ?> </div> <!-- .entry-meta --> </div> <!-- .entry-header --> <div class="entry-summary"> <?php //echo tmpmela_blog_post_excerpt(25); ?> <div class="excerpt"> <?php echo tmpmela_posts_short_description(); ?></div> <div class="entry-meta-inner"> <?php tmpmela_readmore(); ?> <div class="entry-meta"> <?php tmpmela_comments_link(); ?> </div> </div> </div> <?php else : ?> <?php if ($post->post_title == '') : $entry_meta_class = "empty-entry-header"; else : $entry_meta_class = ""; endif; ?> <div class="entry-content"> <div class="entry-thumbnail <?php if (!has_post_thumbnail()): ?>no-blog-image<?php endif; ?>"> <?php if (has_post_thumbnail()): ?> <div class="blog-image"></div> <?php endif; ?> </div> <div class="entry-content-dec"> <div class="entry-content-dec-inner"> <div class="entry-main-header<?php if (!has_post_thumbnail()): ?> post-image-empty<?php endif; ?>"> <div class="entry-meta"> <?php tmpmela_author_name(); ?> <?php tmpmela_post_entry_date(); ?> <?php tmpmela_comments_link(); ?> <?php tmpmela_categories_links(); ?> <?php // translators: %s: Edit ?> <?php edit_post_link( esc_html__( 'Edit', 'leather-market' ), '<div class="meta-inner"><span class="edit-link"><i class="fa fa-pencil-square-o"></i>', '</span></div>' ); ?> </div> <!-- .entry-meta --> <?php the_content( wp_kses( __('Read More <span class="meta-nav">→</span>', 'leather-market' ),tmpmela_allowed_html())); ?> </div> <?php if (is_active_sidebar('social-link')) : ?> <?php tmpmela_get_widget('social-link'); ?> <?php endif; ?> </div> </div> <?php 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 --> <?php endif; ?> </div> <!-- post-info --> </div> </article> <!-- #post -->
[-] 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]