/blog/wp-content/themes/bueno/single.php
PHP | 73 lines | 51 code | 18 blank | 4 comment | 2 complexity | e9091103390dee787f91f5f3b92c6f39 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
- <?php
- /**
- * @package WordPress
- * @subpackage Bueno
- */
- get_header();
- ?>
-
- <div id="content" class="col-full">
- <div id="main" class="col-left">
-
- <?php if (have_posts()) : $count = 0; ?>
- <?php while (have_posts()) : the_post(); $count++; ?>
-
- <div class="post">
- <h1 class="title"><?php the_title(); ?></h1>
-
- <p class="date">
- <span class="day"><?php the_time('j'); ?></span>
- <span class="month"><?php the_time('M'); ?></span>
- </p>
-
- <div class="entry">
- <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'woothemes' ) ); ?>
- <?php wp_link_pages( array( 'before' => '<p class="page-link">' . __( 'Pages:', 'woothemes' ), 'after' => '</p>' ) ); ?>
- <?php the_tags( '<p>' . __( 'Tags: ', 'woothemes' ), ', ', '</p>' ); ?>
- <?php edit_post_link( __( 'Edit This', 'woothemes' ), '<p>', '</p>' ); ?>
- </div>
-
- <div class="post-meta">
-
- <ul>
- <li class="comments">
- <span class="head"><?php _e('Comments', 'woothemes') ?></span>
- <span class="body"><?php comments_popup_link(__('Leave a Comment', 'woothemes'), __('1 Comment', 'woothemes'), __('% Comments', 'woothemes')); ?></span>
- </li>
- <li class="categories">
- <span class="head"><?php _e('Categories', 'woothemes') ?></span>
- <span class="body"><?php the_category(', ') ?></span>
- </li>
- <li class="author">
- <span class="head"><?php _e('Author', 'woothemes') ?></span>
- <span class="body"><?php the_author_posts_link(); ?></span>
- </li>
- </ul>
-
- <div class="fix"></div>
-
- </div><!-- /.post-meta -->
-
- <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><!-- /.post -->
-
- <?php comments_template('', true); ?>
-
- <?php endwhile; else: ?>
- <div class="post">
- <p><?php _e('Sorry, no posts matched your criteria.', 'woothemes') ?></p>
- </div><!-- /.post -->
- <?php endif; ?>
-
- </div><!-- /#main -->
- <?php get_sidebar(); ?>
- </div><!-- /#content -->
-
- <?php get_footer(); ?>