Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- reconfigure content.php
- 1. move post title to top
- 2. add post byline under title
- 3. move post meta data up under byline
- 4. display post content instead of excerpt
- 5. split post-inner and post-hover so content outside of hover
- -->
- <article id="post-<?php the_ID(); ?>" <?php post_class('group'); ?>>
- <div class="post-inner">
- <div class="post-hover">
- <h2 class="post-title">
- <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a>
- </h2><!--/.post-title-->
- <p class="post-byline"><?php _e('by','hueman'); ?> <?php the_author_posts_link(); ?> · <?php the_time(get_option('date_format')); ?></p>
- <div class="post-meta group">
- <p class="post-category"><?php the_category(' / '); ?></p>
- <p class="post-date"><?php the_time('j M, Y'); ?></p>
- </div><!--/.post-meta-->
- <div class="clear"></div>
- <div class="post-thumbnail">
- <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
- <?php if ( has_post_thumbnail() ): ?>
- <?php the_post_thumbnail('thumb-medium'); ?>
- <?php elseif ( ot_get_option('placeholder') != 'off' ): ?>
- <img src="<?php echo get_template_directory_uri(); ?>/img/thumb-medium.png" alt="<?php the_title(); ?>" />
- <?php endif; ?>
- <?php if ( has_post_format('video') && !is_sticky() ) echo'<span class="thumb-icon"><i class="fa fa-play"></i></span>'; ?>
- <?php if ( has_post_format('audio') && !is_sticky() ) echo'<span class="thumb-icon"><i class="fa fa-volume-up"></i></span>'; ?>
- <?php if ( is_sticky() ) echo'<span class="thumb-icon"><i class="fa fa-star"></i></span>'; ?>
- </a>
- <?php if ( comments_open() && ( ot_get_option( 'comment-count' ) != 'off' ) ): ?>
- <a class="post-comments" href="<?php comments_link(); ?>"><span><i class="fa fa-comments-o"></i><?php comments_number( '0', '1', '%' ); ?></span></a>
- <?php endif; ?>
- </div><!--/.post-thumbnail-->
- </div><!--/.post-hover-->
- <!-- change to display full post content instead of excerpt -->
- <!-- <?php if (ot_get_option('excerpt-length') != '0'): ?> -->
- <div class="entry excerpt">
- <!-- <?php the_excerpt(); ?> -->
- <?php the_content(); ?>
- </div><!--/.entry-->
- <?php endif; ?>
- </div><!--/.post-inner-->
- </article><!--/.post-->
Advertisement
Add Comment
Please, Sign In to add comment