/blog/wp-content/themes/chaostheory/single.php
PHP | 42 lines | 32 code | 10 blank | 0 comment | 0 complexity | d7710c5e03395590eac3801ee78b9a60 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
- <?php get_header(); ?>
- <div id="container">
- <div id="content" class="hfeed">
- <?php the_post(); ?>
- <div id="nav-above" class="navigation">
- <div class="nav-previous"><?php previous_post_link('« %link') ?></div>
- <div class="nav-next"><?php next_post_link('%link »') ?></div>
- </div>
- <div id="post-<?php the_ID(); ?>" class="<?php sandbox_post_class(); ?>">
- <div class="entry-meta">
- <h2 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php echo esc_attr( sprintf( __( 'Permanent link to %s', 'chaostheory' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title() ?></a></h2>
- <ul>
- <li class="entry-date"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s – %2$s', 'chaostheory'), the_date('', '', '', false), get_the_time()) ?></abbr></li>
- <li class="entry-category"><?php printf(__('Posted in %s', 'chaostheory'), get_the_category_list(', ')) ?></li>
- <?php the_tags('<li class="entry-tags">'.__('Tagged').' ', ", ", "</li>\n") ?>
- <?php edit_post_link(__('Edit', 'chaostheory'), "\t\t\t\t\t<li class='entry-editlink'>", "</li>"); ?>
- </ul>
- </div>
- <div class="entry-content">
- <?php the_content('<span class="more-link">'.__('Read More »', 'chaostheory').'</span>'); ?>
- <?php link_pages('<div class="page-link">'.__('Pages: ', 'chaostheory'), '</div>', 'number'); ?>
- </div>
- </div><!-- .post -->
- <div id="nav-below" class="navigation">
- <div class="nav-previous"><?php previous_post_link('« %link') ?></div>
- <div class="nav-next"><?php next_post_link('%link »') ?></div>
- </div>
- <?php comments_template(); ?>
- </div><!-- #content .hfeed -->
- </div><!-- #container -->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>