/blog/wp-content/themes/steira/single.php
PHP | 57 lines | 42 code | 15 blank | 0 comment | 3 complexity | 347ff1ca63413199912969cb6b55ebc1 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
- <?php get_header(); ?>
- <div id="body">
- <div id="content">
- <?php the_post(); ?>
- <div id="nav-above" class="navigation">
- <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">‹</span> %title' ) ?></div>
- <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">›</span>' ) ?></div>
- </div><!-- #nav-above -->
- <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
- <h2 class="haslink">
- <a href="<?php the_permalink(); ?>">
- <span class="posted"><?php the_time(get_option("date_format")); ?></span>
- <span class="title"><?php the_title(); ?></span>
- </a>
- </h2>
- <div class="contentblock">
- <?php if (has_excerpt()) : ?>
- <div id="intro">
- <?php the_excerpt(); ?>
- </div><!-- #intro -->
- <?php endif; ?>
- <?php the_content(''); ?>
- <?php wp_link_pages('before=<p class="page-link">' . __( 'Pages:', 'steira' ) . '&after=</p>') ?>
- <p><?php the_tags(__( 'Tags: ', 'steira' ), ', ', ''); ?></p>
- </div><!-- contentblock -->
- <ul class="postdetails">
- <?php if (comments_open()) { ?>
- <li class="comments"><?php comments_popup_link(__('Leave a comment', 'steira'), __('1 comment', 'steira'), '%' . __(' comments', 'steira')); ?></li>
- <?php } else { ?>
- <li class="comments"><?php _e('Comments off', 'steira'); ?></li>
- <?php } ?>
- <li class="categories"><?php _e('Posted under', 'steira');?> <?php the_category(', ') ?><?php edit_post_link(__('Edit', 'steira'), ' | ', ''); ?></li>
- </ul><!-- postdetails -->
- </div><!-- #post-<?php the_ID(); ?> -->
- <div id="nav-below" class="navigation">
- <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">‹</span> %title' ) ?></div>
- <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">›</span>' ) ?></div>
- </div><!-- #nav-below -->
- </div><!-- content -->
- <?php get_sidebar(); ?>
- </div><!-- body -->
- <?php get_footer(); ?>