Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 69 lines (41 sloc) 2.292 kb
b32764d Importing the Trending 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 *
c4bc693 Ready for beta 1.
greenshady authored
8 * @package Trending
b32764d Importing the Trending theme files and folders.
greenshady authored
9 * @subpackage Template
10 */
11
12 get_header(); // Loads the header.php template. ?>
13
c4bc693 Ready for beta 1.
greenshady authored
14 <?php do_atomic( 'before_content' ); // trending_before_content ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
15
16 <div id="content">
17
c4bc693 Ready for beta 1.
greenshady authored
18 <?php do_atomic( 'open_content' ); // trending_open_content ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
19
20 <div class="hfeed">
21
22 <?php get_template_part( 'loop-meta' ); // Loads the loop-meta.php template. ?>
23
24 <?php if ( have_posts() ) : ?>
25
26 <?php while ( have_posts() ) : the_post(); ?>
27
c4bc693 Ready for beta 1.
greenshady authored
28 <?php do_atomic( 'before_entry' ); // trending_before_entry ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
29
30 <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
31
c4bc693 Ready for beta 1.
greenshady authored
32 <?php do_atomic( 'open_entry' ); // trending_open_entry ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
33
34 <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
35
d596624 @justintadlock Don't use function for theme's textdomain. Hardcode it.
authored
36 <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'By [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'trending' ) . '</div>' ); ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
37
c4bc693 Ready for beta 1.
greenshady authored
38 <div class="entry-summary">
39 <?php the_excerpt(); ?>
d596624 @justintadlock Don't use function for theme's textdomain. Hardcode it.
authored
40 <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'trending' ), 'after' => '</p>' ) ); ?>
c4bc693 Ready for beta 1.
greenshady authored
41 </div><!-- .entry-summary -->
b32764d Importing the Trending theme files and folders.
greenshady authored
42
d596624 @justintadlock Don't use function for theme's textdomain. Hardcode it.
authored
43 <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta"><a class="more-link" href="' . get_permalink() . '">' . __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'trending' ) . '</a></div>' ); ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
44
c4bc693 Ready for beta 1.
greenshady authored
45 <?php do_atomic( 'close_entry' ); // trending_close_entry ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
46
47 </div><!-- .hentry -->
48
c4bc693 Ready for beta 1.
greenshady authored
49 <?php do_atomic( 'after_entry' ); // trending_after_entry ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
50
51 <?php endwhile; ?>
52
53 <?php else : ?>
54
55 <?php get_template_part( 'loop-error' ); // Loads the loop-error.php template. ?>
56
57 <?php endif; ?>
58
59 </div><!-- .hfeed -->
60
c4bc693 Ready for beta 1.
greenshady authored
61 <?php do_atomic( 'close_content' ); // trending_close_content ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
62
63 <?php get_template_part( 'loop-nav' ); // Loads the loop-nav.php template. ?>
64
65 </div><!-- #content -->
66
c4bc693 Ready for beta 1.
greenshady authored
67 <?php do_atomic( 'after_content' ); // trending_after_content ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
68
69 <?php get_footer(); // Loads the footer.php template. ?>
Something went wrong with that request. Please try again.