July 25, 2014 at 7:22 am
#12482
Theme Horse Support Team
Keymaster
Hi david.danaan,
If you want to display same as blog image medium for archive page then copy this code from blog image medium on line no 593 to 650
<section id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php do_action( 'interface_before_post_header' ); ?>
<article>
<header class="entry-header">
<div class="entry-meta"> <span class="cat-links">
<?php the_category(', '); ?>
</span><!-- .cat-links -->
</div>
<!-- .entry-meta -->
<h1 class="entry-title"> <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute();?>">
<?php the_title();?>
</a> </h1>
<!-- .entry-title -->
<div class="entry-meta clearfix">
<div class="by-author"><a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="<?php esc_attr(the_author()); ?>">
<?php the_author(); ?>
</a></div>
<div class="date"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( get_the_time() ); ?>">
<?php the_time( get_option( 'date_format' ) ); ?>
</a></div>
<?php if ( comments_open() ) { ?>
<div class="comments">
<?php comments_popup_link( __( 'No Comments', 'interface' ), __( '1 Comment', 'interface' ), __( '% Comments', 'interface' ), '', __( 'Comments Off', 'interface' ) ); ?>
</div>
<?php } ?>
</div>
<!-- .entry-meta -->
</header>
<!-- .entry-header -->
<?php
if( has_post_thumbnail() ) {
$image = '';
$title_attribute = apply_filters( 'the_title', get_the_title( $post->ID ) );
$image .= '<figure class="post-featured-image">';
$image .= '<a href="' . get_permalink() . '" title="'.the_title( '', '', false ).'">';
$image .= get_the_post_thumbnail( $post->ID, 'featured-medium', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ) ) ).'</a>';
$image .='<span class="arrow"></span>';
$image .= '</figure>';
echo $image;
}
?>
<div class="entry-content clearfix">
<?php the_excerpt(); ?>
</div>
<!-- .entry-content -->
<footer class="entry-meta clearfix"> <span class="tag-links">
<?php $tag_list = get_the_tag_list( '', __( ' ', 'interface' ) );
if(!empty($tag_list)){
echo $tag_list;
}?>
</span><!-- .tag-links -->
<?php echo '<a class="readmore" href="' . get_permalink() . '" title="'.the_title( '', '', false ).'">'.$options[ 'post_excerpt_more_text' ].'</a>';
?> </footer>
<!-- .entry-meta -->
</article>
</section>
and replace the line from 116 to 183 and add the above code.
That it will works according to the blog image medium as in archive page also.
Thank you!