Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 64 lines (43 sloc) 1.792 kb
2aa8890 Importing the initial My Life theme files and folders.
greenshady authored
1 <?php
2 /**
3 * Index Template
4 *
5 * This is the default template. It is used when a more specific template can't be found to display
6 * posts. It is unlikely that this template will ever be used, but there may be rare cases.
7 *
8 * @package MyLife
9 * @subpackage Template
10 * @since 0.1.0
11 * @author Justin Tadlock <justin@justintadlock.com>
877f5cf @justintadlock Update copyright and theme info.
authored
12 * @copyright Copyright (c) 2011 - 2012, Justin Tadlock
2aa8890 Importing the initial My Life theme files and folders.
greenshady authored
13 * @link http://themehybrid.com/themes/my-life
14 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
15 */
16
17 get_header(); // Loads the header.php template. ?>
18
19 <?php do_atomic( 'before_content' ); // my-life_before_content ?>
20
21 <div id="content">
22
23 <?php do_atomic( 'open_content' ); // my-life_open_content ?>
24
25 <div class="hfeed">
26
27 <?php get_template_part( 'loop-meta' ); // Loads the loop-meta.php template. ?>
28
29 <?php if ( have_posts() ) : $columns = 3; $i = 0; ?>
30
31 <div class="hentry">
32 <div class="entry-content">
33
34 <ul class="xoxo links">
35
36 <?php while ( have_posts() ) : the_post(); ?>
37
38 <li>
39 <a class="permalink" href="<?php echo esc_url( my_life_url_grabber() ); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>
40 <?php echo do_shortcode( '[entry-comments-link before="(" after=")" one="1" more="%s" zero="0"]' ); ?>
41 </li>
42
43 <?php endwhile; ?>
44 </ul>
45 </div>
46 </div>
47
48 <?php else : ?>
49
50 <?php get_template_part( 'loop-error' ); // Loads the loop-error.php template. ?>
51
52 <?php endif; ?>
53
54 </div><!-- .hfeed -->
55
56 <?php do_atomic( 'close_content' ); // my-life_close_content ?>
57
58 <?php get_template_part( 'loop-nav' ); // Loads the loop-nav.php template. ?>
59
60 </div><!-- #content -->
61
62 <?php do_atomic( 'after_content' ); // my-life_after_content ?>
63
64 <?php get_footer(); // Loads the footer.php template. ?>
Something went wrong with that request. Please try again.