Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 71 lines (42 sloc) 2.515 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
<?php
/**
* Singular Template
*
* This is the default singular template. It is used when a more specific template can't be found to display
* singular views of posts (any post type).
*
* @package News
* @subpackage Template
*/

get_header(); ?>

<?php do_atomic( 'before_content' ); // Before content hook ?>

<div id="content">

<?php do_atomic( 'open_content' ); // Open content hook ?>

<div class="hfeed">

<?php if ( have_posts() ) : ?>

<?php while ( have_posts() ) : the_post(); ?>

<?php do_atomic( 'before_loop' ); // Before loop hook ?>

<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">

<?php do_atomic( 'open_loop' ); // Open loop hook ?>

<?php echo apply_atomic_shortcode( 'entry_utility', '<div class="entry-utility">' . __( '[entry-print-link] [entry-email-link] [entry-popup-shortlink]', 'news' ) . '</div>' ); ?>

<?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 ) ); ?>

<?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'By [entry-author] on [entry-published] [entry-terms taxonomy="category" before=" in "] [entry-edit-link before=" | "]', 'news' ) . '</div>' ); ?>

<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'news' ) ); ?>
<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'news' ), 'after' => '</p>' ) ); ?>
</div><!-- .entry-content -->

<?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]', 'news' ) . '</div>' ); ?>

<?php do_atomic( 'close_loop' ); // Close loop hook ?>

</div><!-- .hentry -->

<?php do_atomic( 'after_loop' ); // After loop hook ?>

<?php get_sidebar( 'after-singular' ); ?>

<?php do_atomic( 'after_singular' ); // After singular hook ?>

<?php comments_template( '/comments.php', true ); ?>

<?php endwhile; ?>

<?php endif; ?>

</div><!-- .hfeed -->

<?php do_atomic( 'close_content' ); // Close content hook ?>

<?php get_template_part( 'loop-nav' ); ?>

</div><!-- #content -->

<?php do_atomic( 'after_content' ); // After content hook ?>

<?php get_footer(); ?>
Something went wrong with that request. Please try again.