Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <?php $i = 0; ?>
  4. <?php $posts=query_posts($query_string . '&order=asc');
  5. if (have_posts()) : while (have_posts()) : the_post(); ?><?php if (have_posts()) : while (have_posts()) : the_post(); if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); $i++; ?>
  6. <div class="span-8 post-<?php the_ID(); ?><?php if ($i == 3) { ?> last<?php } ?>">
  7. <h6 class="archive-header"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title() ?></a></h6>
  8. <?php get_the_image( array( 'custom_key' => array( 'thumbnail' ), 'default_size' => 'thumbnail', 'width' => '310', 'height' => '150' ) ); ?>
  9. <?php the_excerpt(); ?>
  10. <p class="postmetadata"><?php the_time( get_option( 'date_format' ) ); ?> | <?php comments_popup_link('Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
  11. </div>
  12. <?php if ($i == 3) { ?><div class="archive-stack clear"></div><?php $i = 0; } ?>
  13. <?php endwhile; endif; ?>
  14.  
  15. <div class="clear"></div>
  16.  
  17. <div class="navigation">
  18. <div><?php next_posts_link('&laquo; Older Entries') ?></div>
  19. <div><?php previous_posts_link('Newer Entries &raquo;') ?></div>
  20. </div>
  21.  
  22. <?php get_template_part( 'bottom' ); ?>
  23. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement