File: /home/mmickelson/martyknows.com/wp-content/themes/under-the-influence/single.php
<?php
/**
* @package WordPress
* @subpackage Under_the_Influence
*/
get_header();
?>
<div id="content_container">
<?php get_sidebar(); ?>
<div class="navigation">
<?php previous_post_link('« %link') ?> | <?php next_post_link('%link »') ?>
</div><!--.navigation-->
<div id="content" class="singlepage">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h2><?php the_title(); ?></h2>
<?php /* If author is shown */ if ($author == "on"){?>
<span class="author"><?php _e('by ', 'uti_theme'); the_author() ?></span>
<?php } ?>
<div class="entry">
<?php the_content(__('<div class="read_more">read more »</div>', 'uti_theme')); ?>
<?php wp_link_pages(array('before' => __('<div class="navigation"><p>Pages: ', 'uti_theme'), 'after' => '</p></div>', 'next_or_number' => 'number')); ?>
<hr></hr>
<p class="postmetadata">
<small>
<?php printf(__('Posted on %1$s at %2$s in ', 'uti_theme'), get_the_time('l, F jS, Y'), get_the_time()); the_category(', ') ?>
| <?php post_comments_feed_link(__('RSS feed', 'uti_theme')); ?>
<?php if ( comments_open() && pings_open() ) {
// Both Comments and Pings are open ?>
| <a href="#respond"><?php _e('Respond','uti_theme') ?></a> | <a href="<?php trackback_url(); ?>" rel="trackback"><?php _e('Trackback URL','uti_theme')?></a>
<?php } elseif ( !comments_open() && pings_open() ) {
// Only Pings are Open ?>
<?php _e('Comments are currently closed, but you can', 'uti_theme')?> <a href="<?php trackback_url(); ?> " rel="trackback"><?php _e('trackback','uti_theme')?></a><?php _e(' from your own site.','uti_theme')?>
<?php } elseif ( comments_open() && !pings_open() ) {
// Comments are open, Pings are not ?>
<?php _e('Pinging is disabled. But you can skip to the end and leave a ', 'uti_theme')?><a href="#respond"><?php _e('response.','uti_theme')?></a>
<?php } elseif ( !comments_open() && !pings_open() ) {
// Neither Comments, nor Pings are open ?>
<?php _e('Comments and pings are currently closed.', 'uti_theme')?>
<?php } edit_post_link(__('| Edit this entry', 'uti_theme'),'','.'); ?>
</small>
</p>
<div class="tags">
<small><?php the_tags(__('Tags: ', 'uti_theme'), ', ', '<br />'); ?> </small>
</div><!--.tags-->
</div><!--.entry-->
<?php comments_template(); ?>
</div><!--.post-->
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.', 'uti_theme')?></p>
<?php endif; ?>
</div><!--#content-->
</div><!--#content_container-->
<?php get_footer(); ?>