Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 68 lines (40 sloc) 2.236 kb
217f7fd Importing the News 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 page template isn't used.
6 *
7 * @package News
8 * @subpackage Template
9 */
10
11 get_header(); ?>
12
13 <?php do_atomic( 'before_content' ); // Before content hook ?>
14
15 <div id="content">
16
17 <?php do_atomic( 'open_content' ); // Open content hook ?>
18
19 <div class="hfeed">
20
21 <?php if ( have_posts() ) : ?>
22
23 <?php while ( have_posts() ) : the_post(); ?>
24
25 <?php do_atomic( 'before_loop' ); // Before loop hook ?>
26
27 <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
28
29 <?php do_atomic( 'open_loop' ); // Open loop hook ?>
30
31 <?php echo apply_atomic_shortcode( 'entry_utility', '<div class="entry-utility">' . __( '[entry-print-link] [entry-email-link] [entry-popup-shortlink] [entry-edit-link before="| "]', hybrid_get_textdomain() ) . '</div>' ); ?>
32
33 <?php echo apply_atomic( 'entry_title', the_title( '<h1 class="entry-title"><a href="' . get_permalink() . '" title="' . the_title_attribute( 'echo=0' ) . '" rel="bookmark">', '</a></h1>', false ) ); ?>
34
35 <div class="entry-content">
36 <?php the_content(); ?>
37 <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', hybrid_get_textdomain() ), 'after' => '</p>' ) ); ?>
38 </div><!-- .entry-content -->
39
40 <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '<span class="share">Share this on:</span> [entry-mixx-link] [entry-delicious-link] [entry-digg-link] [entry-facebook-link] [entry-twitter-link]', hybrid_get_textdomain() ) . '</div>' ); ?>
41
42 <?php do_atomic( 'close_loop' ); // Close loop hook ?>
43
44 </div><!-- .hentry -->
45
46 <?php do_atomic( 'after_loop' ); // After loop hook ?>
47
48 <?php get_sidebar( 'after-singular' ); ?>
49
50 <?php do_atomic( 'after_singular' ); // After singular hook ?>
51
52 <?php comments_template( '/comments.php', true ); ?>
53
54 <?php endwhile; ?>
55
56 <?php endif; ?>
57
58 </div><!-- .hfeed -->
59
60 <?php do_atomic( 'close_content' ); // Close content hook ?>
61
62 <?php get_template_part( 'loop-nav' ); ?>
63
64 </div><!-- #content -->
65
66 <?php do_atomic( 'after_content' ); // After content hook ?>
67
68 <?php get_footer(); ?>
Something went wrong with that request. Please try again.