Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ( have_posts() ): ?>
- <div class="blog-traditional">
- <?php while ( have_posts() ): the_post(); ?>
- <article>
- <?php if ( has_post_format( 'link' )) { # Link posts
- $post_link = get_post_meta( $post->ID, 'reach_link_url', true );
- } else {
- $post_link = get_permalink();
- } ?>
- <h2><a href="<?php echo $post_link; ?>"><?php the_title(); ?></a></h2>
- <div class="two-thirds">
- <?php if ( has_post_thumbnail() ) { ?>
- <!-- thumbnail -->
- <?php $image = vt_resize( get_post_thumbnail_id(), '', 484, 999, false ); ?>
- <a class="blog-traditional-thumbnail" href="<?php echo $post_link; ?>" alt="" />
- <img src="<?php echo $image[url]; ?>" width="<?php echo $image[width]; ?>" height="<?php echo $image[height]; ?>" alt="" />
- </a>
- <?php } ?>
- <?php the_excerpt(); ?>
- </div>
- <div class="third end">
- <?php create_post_meta(); ?>
- </div>
- </article>
- <?php endwhile; ?>
- <?php pagination(); ?>
- </div>
- <?php endif; ?>
- </div> <!--#content -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement