Changeset 1615 for sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/single.php
- Timestamp:
- 05/24/2015 08:06:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/single.php
r465 r1615 1 1 <?php get_header(); ?> 2 <div class="outer" id="mid-wrapper"> 3 <div class="wrapper"> 4 <div class="section blog"> 5 <h3><?php _e('Blog', 'rosetta');?></h3> 2 3 <div id="pagebody"> 4 <div class="wrapper"> 5 <div class="col-9"> 6 <?php 7 if ( have_posts()) : 8 while (have_posts() ) : the_post(); ?> 9 <h2 class="fancy"><?php the_title(); ?></h2> 10 11 <div class="meta"> 12 <?php rosetta_entry_meta(); ?> 13 </div> 14 15 <div class="storycontent"> 16 <?php the_content( 'Read on for more »', 'rosetta' ); ?> 17 </div> 18 19 <?php comments_template(); ?> 20 <?php endwhile; 21 else: ?> 22 <p><?php _e( 'Sorry, no posts matched your criteria.', 'rosetta' ); ?></p> 23 <?php endif; ?> 24 25 <?php posts_nav_link(' — ', __( '« Newer Posts', 'rosetta' ), __( 'Older Posts »', 'rosetta' ) ); ?> 26 </div> 27 <div class="col-3"> 28 <div class="blog-categories"> 29 <h4><?php _e( 'Categories', 'rosetta' ); ?></h4> 30 <ul> 31 <?php wp_list_categories( 'title_li=&show_count=1&orderby=count&order=DESC&number=10' ); ?> 32 </ul> 6 33 </div> 7 34 </div> 8 35 </div> 9 <?php if (have_posts()) : ?> 10 <?php while (have_posts()) : the_post(); ?> 11 <div class="wrapper"> 12 <div class="section blog"> 13 <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> 36 </div> 14 37 15 <p><small><em><?php the_time(__('F j, Y', 'rosetta')); ?>, <?php the_author_link(); ?></em></small></p> 16 17 <?php the_content(__('Read the rest of this entry »', 'rosetta')); ?> 18 19 <?php comments_template(); ?> 20 <div class="navigation"> 21 <div class="nav-previous"><?php previous_post_link('← %link') ?></div> 22 <div class="nav-next"><?php next_post_link('%link →') ?></div> 23 </div> 24 25 </div> 26 </div> 27 28 <?php endwhile; ?> 29 30 <?php endif; ?> 31 <?php get_footer(); ?> 38 <?php get_footer();
Note: See TracChangeset
for help on using the changeset viewer.