Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="content" class="grid_9 <?php echo of_get_option('blog_sidebar_pos') ?>">
- <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
- <div id="post-<?php the_ID(); ?>" <?php post_class('post'); ?>>
- <article class="post-holder single-post clearfix">
- <header>
- <h1><?php the_title(); ?></h1>
- </header>
- <?php $single_image_size = of_get_option('single_image_size'); ?>
- <?php if($single_image_size=='' || $single_image_size=='normal'){ ?>
- <?php if(has_post_thumbnail()) {
- echo '<figure class="featured-thumbnail"><span class="img-wrap">'; the_post_thumbnail(); echo '</span></figure>';
- }
- ?>
- <?php } else { ?>
- <?php if(has_post_thumbnail()) {
- echo '<figure class="featured-thumbnail large"><span class="img-wrap"><span class="f-thumb-wrap">'; the_post_thumbnail('post-thumbnail-xl'); echo '</span></span></figure>';
- }
- ?>
- <?php } ?>
- <div class="post-content">
- <?php the_content(); ?>
- <?php wp_link_pages('before=<div class="pagination">&after=</div>'); ?>
- </div><!--.post-content-->
- </article>
- </div><!-- #post-## -->
- <nav class="oldernewer">
- <div class="older">
- <?php previous_post_link('%link', '« Previous post') ?>
- </div><!--.older-->
- <div class="newer">
- <?php next_post_link('%link', 'Next Post »') ?>
- </div><!--.newer-->
- </nav><!--.oldernewer-->
- <?php comments_template( '', true ); ?>
- <?php endwhile; /* end loop */ ?>
- </div><!--#content-->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement