Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * @package WordPress
- * @subpackage Modularity
- */
- ?>
- <?php get_header(); ?>
- <div class="span-<?php modularity_sidebar_class(); ?>">
- <div class="content">
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <h2><?php the_title(); ?></h2>
- <?php the_content( __( 'Read the rest of this page »', 'modularity' ) ); ?>
- <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'modularity' ), 'after' => '</div>' ) ); ?>
- </div>
- <div class="clear"></div>
- <p class="postmetadata alt">
- <small>
- <?php
- $tag_list = get_the_tag_list( ' and was tagged with ', ', ' );
- printf( __( 'This entry was posted on %1$s. It was filed under %2$s%3$s.', 'modularity' ),
- get_the_time( get_option( 'date_format' ) ),
- get_the_category_list( ', ' ),
- $tag_list
- );
- ?>
- <?php edit_post_link( __( 'Edit this entry', 'modularity' ), '', '.' ); ?>
- </small>
- </p>
- <div class="nav next right"><?php next_post_link('%link', _x( '→', 'Next post link', 'modularity' ) ); ?></div>
- <div class="nav prev left"><?php previous_post_link('%link', _x( '←', 'Previous post link', 'modularity' ) ); ?></div>
- <div class="clear"></div>
- <?php endwhile; else : ?>
- <h2 class="center"><?php _e( 'Not Found', 'modularity' ); ?></h2>
- <p class="center"><?php _e( 'Sorry, but you are looking for something that isn’t here.', 'modularity' ); ?></p>
- <?php get_search_form(); ?>
- <?php endif; ?>
- <?php comments_template(); ?>
- </div>
- </div>
- <?php get_sidebar(); ?>
- <!-- Begin Footer -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement