
single
By:
doctorwhobbc on
Jan 29th, 2012 | syntax:
None | size: 2.18 KB | hits: 21 | expires: Never
<?php get_header(); ?>
<?php if (get_option('13floor_integration_single_top') <> '' && get_option('13floor_integrate_singletop_enable') == 'on') echo esc_html(get_option('13floor_integration_single_top')); ?>
<div id="content-top"></div>
<div id="contentwrap">
<div id="content" class="clearfix">
<div id="content-area">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="entry post clearfix">
<h1 class="title"><?php the_title(); ?></h1>
<?php include(TEMPLATEPATH . '/includes/postinfo.php'); ?>
<?php if (get_option('13floor_thumbnails') == 'on') { ?>
<?php $width = 136;
$height = 136;
$classtext = 'thumbnail alignleft';
$titletext = get_the_title();
$thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext);
$thumb = $thumbnail["thumb"]; ?>
<?php if($thumb <> '') print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext , $width, $height, $classtext); ?>
<?php }; ?>
<?php the_content(); ?>
<?php wp_link_pages(array('before' => '<p><strong>'.esc_html__('Pages','13floor').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
<?php edit_post_link(esc_html__('Edit this page','13floor')); ?>
</div> <!-- end .post -->
<?php if (get_option('13floor_integration_single_bottom') <> '' && get_option('13floor_integrate_singlebottom_enable') == 'on') echo esc_html(get_option('13floor_integration_single_bottom')); ?>
<?php if (get_option('13floor_468_enable') == 'on') { ?>
<?php if(get_option('13floor_468_adsense') <> '') echo esc_html(get_option('13floor_468_adsense'));
else { ?>
<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>
<?php } ?>
<?php } ?>
<?php if (get_option('13floor_show_postcomments') == 'on') comments_template('', true); ?>
<?php endwhile; endif; ?>
</div> <!-- end #content-area -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>