Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 65 lines (39 sloc) 1.962 kb
b32764d Importing the Trending theme files and folders.
greenshady authored
1 <?php
2 /**
3 * Page Template
4 *
5 * This is the default page template. It is used when a more specific template can't be found to display
6 * singular views of pages.
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 if ( have_posts() ) : ?>
23
24 <?php while ( have_posts() ) : the_post(); ?>
25
c4bc693 Ready for beta 1.
greenshady authored
26 <?php do_atomic( 'before_entry' ); // trending_before_entry ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
27
28 <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
29
c4bc693 Ready for beta 1.
greenshady authored
30 <?php do_atomic( 'open_entry' ); // trending_open_entry ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
31
32 <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
33
34 <div class="entry-content">
d596624 @justintadlock Don't use function for theme's textdomain. Hardcode it.
authored
35 <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'trending' ) ); ?>
36 <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'trending' ), 'after' => '</p>' ) ); ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
37 </div><!-- .entry-content -->
38
39 <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">[entry-edit-link]</div>' ); ?>
40
c4bc693 Ready for beta 1.
greenshady authored
41 <?php do_atomic( 'close_entry' ); // trending_close_entry ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
42
43 </div><!-- .hentry -->
44
c4bc693 Ready for beta 1.
greenshady authored
45 <?php do_atomic( 'after_entry' ); // trending_after_entry ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
46
47 <?php get_sidebar( 'after-singular' ); // Loads the sidebar-after-singular.php template. ?>
48
c4bc693 Ready for beta 1.
greenshady authored
49 <?php do_atomic( 'after_singular' ); // trending_after_singular ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
50
51 <?php comments_template( '/comments.php', true ); // Loads the comments.php template. ?>
52
53 <?php endwhile; ?>
54
55 <?php endif; ?>
56
57 </div><!-- .hfeed -->
58
c4bc693 Ready for beta 1.
greenshady authored
59 <?php do_atomic( 'close_content' ); // trending_close_content ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
60
61 </div><!-- #content -->
62
c4bc693 Ready for beta 1.
greenshady authored
63 <?php do_atomic( 'after_content' ); // trending_after_content ?>
b32764d Importing the Trending theme files and folders.
greenshady authored
64
65 <?php get_footer(); // Loads the footer.php template. ?>
Something went wrong with that request. Please try again.