Advertisement
Guest User

Untitled

a guest
Aug 30th, 2011
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. <?php
  2. /**
  3. * @package WordPress
  4. * @subpackage Modularity
  5. */
  6. ?>
  7. <div class="span-<?php modularity_sidebar_class(); ?>">
  8. <h3 class="sub"><?php _e( 'Latest', 'modularity' ); ?></h3>
  9. <?php if (have_posts()) : ?>
  10. <?php while (have_posts()) : the_post(); ?>
  11. <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
  12. <div class="content">
  13. <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
  14. <div class="entry">
  15. <?php the_content( __( 'Continued &raquo;', 'modularity' ) ); ?>
  16. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'modularity' ), 'after' => '</div>' ) ); ?>
  17. </div>
  18. <div class="clear"></div>
  19. <p class="postmetadata alt quiet">
  20. <?php
  21. $tag_list = get_the_tag_list( '| Tags: ', ', ' );
  22. printf( __( '%1$s | Categories: %2$s %3$s | ', 'modularity' ),
  23. get_the_time( get_option( 'date_format' ) ),
  24. get_the_category_list( ', ' ),
  25. $tag_list
  26. );
  27. ?>
  28. <?php comments_popup_link( __( 'Leave A Comment &#187;', 'modularity' ), __( '1 Comment &#187;', 'modularity' ), __( '% Comments &#187;', 'modularity' ) ); ?>
  29. <?php edit_post_link( __( ' Edit', 'modularity'), '| ', '' ); ?>
  30. </p>
  31. </div>
  32. </div>
  33. <?php endwhile; ?>
  34.  
  35. <div class="clear"></div>
  36. <div class="navigation">
  37. <div class="alignleft"><?php next_posts_link( __( '&laquo; Older Entries', 'modularity' ) ); ?></div>
  38. <div class="alignright"><?php previous_posts_link( __( 'Newer Entries &raquo;', 'modularity' ) ); ?></div>
  39.  
  40. <div align="center"><?php wp_pagenavi(); ?></div>
  41.  
  42. </div>
  43.  
  44. <?php else : ?>
  45.  
  46. <h2 class="center"><?php _e( 'Not Found', 'modularity' ); ?></h2>
  47. <p class="center"><?php _e( 'Sorry, but you are looking for something that isn&rsquo;t here.', 'modularity' ); ?></p>
  48. <?php get_search_form(); ?>
  49.  
  50. <?php endif; ?>
  51. </div>
  52.  
  53. <?php get_sidebar(); ?>
  54. </div>
  55. <div class="double-border"></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement