Advertisement
Guest User

archives-olivet-journal

a guest
Jun 13th, 2013
538
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.23 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Archives Template
  4.  *
  5.  * This is the Archives Template added and adapted for Olivet Journal.
  6.  *
  7.  * @package MyLife
  8.  * @subpackage Template
  9.  * @since 0.1.1
  10.  * @author Justin Tadlock <justin@justintadlock.com>
  11.  * @copyright Copyright (c) 2011 - 2013, Justin Tadlock
  12.  * @link http://themehybrid.com/themes/my-life
  13.  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  14.  */
  15.  
  16. get_header(); // Loads the header.php template. ?>
  17.  
  18.     <?php do_atomic( 'before_content' ); // my-life_before_content ?>
  19.  
  20.     <div id="content">
  21.  
  22.         <?php do_atomic( 'open_content' ); // my-life_open_content ?>
  23.  
  24.         <div class="hfeed">
  25.  
  26.             <?php get_template_part( 'loop-meta' ); // Loads the loop-meta.php template. ?>
  27.  
  28.             <?php if ( have_posts() ) : ?>
  29.  
  30.                 <?php while ( have_posts() ) : the_post(); ?>
  31.                     <?php do_atomic( 'before_entry' ); // my-life_before_entry ?>
  32.  
  33.                     <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
  34.                         <?php do_atomic( 'open_entry' ); // my-life_open_entry ?>
  35.  
  36.                         <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
  37.  
  38.                         <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'my-life' ) . '</div>' ); ?>
  39.                        
  40.                         <div class="entry-summary"><?php the_excerpt(); ?></div>
  41.  
  42.                         <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'my-life' ) . '</div>' ); ?>
  43.  
  44.                         <?php do_atomic( 'close_entry' ); // my-life_close_entry ?>
  45.  
  46.                     </div><!-- .hentry -->
  47.  
  48.                     <?php do_atomic( 'after_entry' ); // my-life_after_entry ?>
  49.  
  50.                 <?php endwhile; ?>
  51.  
  52.             <?php else : ?>
  53.  
  54.                 <?php get_template_part( 'loop-error' ); // Loads the loop-error.php template. ?>
  55.  
  56.             <?php endif; ?>
  57.  
  58.         </div><!-- .hfeed -->
  59.  
  60.         <?php do_atomic( 'close_content' ); // my-life_close_content ?>
  61.  
  62.         <?php get_template_part( 'loop-nav' ); // Loads the loop-nav.php template. ?>
  63.  
  64.     </div><!-- #content -->
  65.  
  66.     <?php do_atomic( 'after_content' ); // my-life_after_content ?>
  67.  
  68. <?php get_footer(); // Loads the footer.php template. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement