Advertisement
alansills

single post

Jun 19th, 2012
417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <?php
  4. global $wp_query;
  5. $postid = $wp_query->post->ID;
  6. if ( get_post_meta( $postid, 'post_featpages', true ) == "Yes" ) { ?>
  7. <?php include (TEMPLATEPATH . '/featured-pages.php'); ?>
  8. <?php } ?>
  9.  
  10. <?php if ( get_post_meta( $postid, 'post_featcontent', true ) == "Yes" ) { ?>
  11. <?php include (TEMPLATEPATH . '/featured-wide.php'); ?>
  12. <?php } ?>
  13.  
  14. <div id="page" class="clearfix">
  15.  
  16. <div id="contentleft">
  17.  
  18. <div id="content" class="maincontent">
  19.  
  20. <?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?>
  21.  
  22. <?php include (TEMPLATEPATH . '/banner468.php'); ?>
  23.  
  24. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  25.  
  26. <div class="singlepost">
  27.  
  28. <div class="post" id="post-main-<?php the_ID(); ?>">
  29.  
  30. <div class="entry">
  31.  
  32. <h1 class="post-title single"><a href="<?php the_permalink() ?>" rel="<?php _e("bookmark", "solostream"); ?>" title="<?php _e("Permanent Link to", "solostream"); ?> <?php the_title(); ?>"><?php the_title(); ?></a></h1>
  33.  
  34. <?php include (TEMPLATEPATH . '/postinfo.php'); ?>
  35.  
  36. <?php if ( get_post_meta( $post->ID, 'video_embed', true ) ) { ?>
  37. <div class="single-video">
  38. <?php echo get_post_meta( $post->ID, 'video_embed', true ); ?>
  39. </div>
  40. <?php } ?>
  41.  
  42. <?php the_content(); ?>
  43.  
  44. <div style="clear:both;"></div>
  45.  
  46. <?php wp_link_pages(); ?>
  47.  
  48. <p class="cats"><?php _e('Filed in', "solostream"); ?>: <?php the_category(' &bull; '); ?><?php if(function_exists('the_tags')) { the_tags('<br /><span class="tags">'. __('Tagged with', "solostream"). ': ', ' &bull; ', '</span>'); } ?></p>
  49.  
  50. </div>
  51.  
  52. <?php include (TEMPLATEPATH . '/auth-bio.php'); ?>
  53.  
  54. <?php include (TEMPLATEPATH . '/related.php'); ?>
  55.  
  56. <?php comments_template('', true); ?>
  57.  
  58. </div>
  59.  
  60. <?php include (TEMPLATEPATH . "/bot-nav.php"); ?>
  61.  
  62. </div>
  63.  
  64. <?php endwhile; endif; ?>
  65.  
  66. </div>
  67.  
  68. <?php include (TEMPLATEPATH . '/sidebar-narrow.php'); ?>
  69.  
  70. </div>
  71.  
  72. <?php get_sidebar(); ?>
  73.  
  74. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement