Advertisement
Guest User

index

a guest
Nov 5th, 2012
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. <?php
  2. get_header();
  3. global $woo_options;
  4. get_template_part( 'top-banner' );
  5.  
  6. $blog_name = get_bloginfo( 'name' );
  7. ?>
  8. <div id="arch_content" class="column span-14">
  9.  
  10. <?php if ( have_posts() ) { ?>
  11.  
  12. <div class="column span-3 first">
  13. <h2 class="archive_name"><?php echo $blog_name; ?></h2>
  14.  
  15. <div class="archive_meta">
  16.  
  17. <div class="archive_feed">
  18. <a href="<?php bloginfo( 'rss2_url' ); ?>"><?php _e( 'RSS feed for','woothemes' );?> <?php echo $blog_name; ?></a>
  19. </div>
  20.  
  21. </div>
  22. </div>
  23.  
  24. <div class="column span-8">
  25.  
  26. <?php while ( have_posts() ) { the_post(); ?>
  27.  
  28. <div <?php post_class( 'archive_post_block' ); ?>>
  29. <h3 class="archive_title" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'woothemes' );?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
  30.  
  31. <div class="archive_post_meta"><?php _e( 'By', 'woothemes' ); ?> <?php the_author_posts_link(); ?> <span class="dot">&sdot;</span> <?php the_time( get_option( 'date_format' ) ); ?> <span class="dot">&sdot;</span> <a href="<?php comments_link(); ?>"><?php comments_number( __( 'Post a comment', 'woothemes' ), __( 'One comment', 'woothemes' ),'% comments' ); ?></a></div>
  32.  
  33. <?php the_excerpt(); ?>
  34. </div>
  35.  
  36. <?php } // End WHILE Loop ?>
  37.  
  38. <div class="navigation">
  39. <p><?php next_posts_link( __( '&laquo; Previous', 'woothemes' ) ); ?> &nbsp; <?php previous_posts_link( __( 'Next &raquo;', 'woothemes' ) ); ?></p>
  40. </div>
  41.  
  42. <?php
  43. } else {
  44. printf( __( '<p>Lost? Go back to the <a href="%s">home page</a></p>', 'woothemes' ), get_home_url() );
  45. }
  46. ?>
  47.  
  48. </div>
  49.  
  50. <?php get_sidebar(); ?>
  51.  
  52. </div>
  53. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement