Advertisement
doctorwhobbc

single

Jan 29th, 2012
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <?php if (get_option('13floor_integration_single_top') <> '' && get_option('13floor_integrate_singletop_enable') == 'on') echo esc_html(get_option('13floor_integration_single_top')); ?>
  3.  
  4. <div id="content-top"></div>
  5.  
  6. <div id="contentwrap">
  7. <div id="content" class="clearfix">
  8.  
  9. <div id="content-area">
  10. <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  11. <div class="entry post clearfix">
  12.  
  13. <h1 class="title"><?php the_title(); ?></h1>
  14.  
  15. <?php include(TEMPLATEPATH . '/includes/postinfo.php'); ?>
  16.  
  17. <?php if (get_option('13floor_thumbnails') == 'on') { ?>
  18.  
  19. <?php $width = 136;
  20. $height = 136;
  21. $classtext = 'thumbnail alignleft';
  22. $titletext = get_the_title();
  23.  
  24. $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext);
  25. $thumb = $thumbnail["thumb"]; ?>
  26.  
  27. <?php if($thumb <> '') print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext , $width, $height, $classtext); ?>
  28.  
  29. <?php }; ?>
  30.  
  31. <?php the_content(); ?>
  32. <?php wp_link_pages(array('before' => '<p><strong>'.esc_html__('Pages','13floor').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  33. <?php edit_post_link(esc_html__('Edit this page','13floor')); ?>
  34.  
  35. </div> <!-- end .post -->
  36.  
  37. <?php if (get_option('13floor_integration_single_bottom') <> '' && get_option('13floor_integrate_singlebottom_enable') == 'on') echo esc_html(get_option('13floor_integration_single_bottom')); ?>
  38. <?php if (get_option('13floor_468_enable') == 'on') { ?>
  39. <?php if(get_option('13floor_468_adsense') <> '') echo esc_html(get_option('13floor_468_adsense'));
  40. else { ?>
  41. <a href="<?php echo esc_url(get_option('13floor_468_url')); ?>"><img src="<?php echo esc_url(get_option('13floor_468_image')); ?>" alt="468 ad" class="foursixeight" /></a>
  42. <?php } ?>
  43. <?php } ?>
  44.  
  45. <?php if (get_option('13floor_show_postcomments') == 'on') comments_template('', true); ?>
  46. <?php endwhile; endif; ?>
  47. </div> <!-- end #content-area -->
  48.  
  49. <?php get_sidebar(); ?>
  50. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement