Advertisement
Guest User

page

a guest
Jul 31st, 2012
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <div class="middle_single">
  3. <?php if (have_posts()) : ?>
  4. <?php while (have_posts()) : the_post(); ?>
  5. <div class="post_blog">
  6. <h1><?php the_title(); ?></h1>
  7. <div style="clear:both"></div>
  8. <div class="entry_blog">
  9. <?php $id = get_post_thumbnail_id(get_the_ID()); ?>
  10. <?php echo do_shortcode("[gallery exclude={$id} link='file']"); ?>
  11. <?php
  12. if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
  13. the_post_thumbnail( 'large', array('class'=>'post_thumbnail_common', 'alt' => get_the_title() , 'title' => get_the_title() ));
  14. }
  15. ?>
  16. <?php the_content(); ?>
  17. </div>
  18. <div style="clear:both;"></div>
  19. <?php endwhile; ?>
  20. <?php endif; ?>
  21. </div>
  22. </div>
  23. <?php include(TEMPLATEPATH . '/sidebar-single.php'); ?>
  24. <?php get_footer();?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement