Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div class="middle_single">
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <div class="post_blog">
- <h1><?php the_title(); ?></h1>
- <div style="clear:both"></div>
- <div class="entry_blog">
- <?php $id = get_post_thumbnail_id(get_the_ID()); ?>
- <?php echo do_shortcode("[gallery exclude={$id} link='file']"); ?>
- <?php
- if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
- the_post_thumbnail( 'large', array('class'=>'post_thumbnail_common', 'alt' => get_the_title() , 'title' => get_the_title() ));
- }
- ?>
- <?php the_content(); ?>
- </div>
- <div style="clear:both;"></div>
- <?php endwhile; ?>
- <?php endif; ?>
- </div>
- </div>
- <?php include(TEMPLATEPATH . '/sidebar-single.php'); ?>
- <?php get_footer();?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement