<?php
/*
* Content display template for index page
*/
?>
<div class="index-jbottom">
    <div class="sticky-text">
        <?php esc_attr_e("FEATURED","efpose"); ?>
    </div>
    <div class="index-content">
        <h2><a class="entry-title" href="<?php the_permalink();?>">
            <?php the_title(); ?>
            </a></h2>
        <div class="index-content-author">
            <div class="submeta-singlepost">
			<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" rel="author"> <?php printf( __( '%s', 'efpose' ), get_the_author() ); ?></a>
                <?php if(get_the_author_meta('Position') ): ?>
                <?php esc_attr_e(' / ', 'efpose'); ?>
                <?php echo get_the_author_meta('Position'); ?>
                <?php else: ?>
                <?php endif; ?>
                <?php esc_attr_e(' - ', 'efpose'); ?>
                <?php echo get_the_date(); ?>
		</div>
        </div>
        <?php if ( is_home() && ( get_theme_mod( 'efpose_one_full_post' , '1' ) == '1' ) ) :?>
        <div class="module31-content">
            <?php efpose_one_excerpts() ?>
			<a class="readmorepost" href="<?php the_permalink(); ?>"><?php esc_html_e('Read More', 'efpose'); ?></a>
        </div>
        <?php elseif( is_search() || is_category() || is_tag() || is_author() || is_archive() ):?>
        <?php efpose_one_excerpts() ?>
        <?php else : ?>
        <div class="module31-content">
            <?php the_post_thumbnail('excerpt-thumbnail'); ?>
            <?php echo esc_html ( wp_trim_words( get_the_content(), 44, '' )); ?></div>
        <!-- .entry-content -->
        <?php endif; ?>
    </div>
</div>