Guest User

Untitled

a guest
Jul 26th, 2012
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 ) == "Full Width Featured Content Slider" ) { ?>
  11. <?php include (TEMPLATEPATH . '/featured-wide.php'); ?>
  12. <?php } ?>
  13.  
  14. <div id="page" class="clearfix">
  15.  
  16. <div id="contentleft">
  17.  
  18. <?php if ( get_post_meta( $postid, 'post_featcontent', true ) == "Narrow Width Featured Content Slider" ) { ?>
  19. <?php include (TEMPLATEPATH . '/featured-narrow.php'); ?>
  20. <?php } ?>
  21.  
  22. <?php if ( get_post_meta( $postid, 'post_featgalleries', true ) == "Yes" ) { ?>
  23. <?php include (TEMPLATEPATH . '/featured-galleries.php'); ?>
  24. <?php } ?>
  25.  
  26. <?php if ( get_post_meta( $postid, 'post_featvideo', true ) == "Yes" ) { ?>
  27. <?php include (TEMPLATEPATH . '/featured-vids.php'); ?>
  28. <?php } ?>
  29.  
  30. <div id="content" class="maincontent">
  31.  
  32. <?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?>
  33.  
  34. <?php include (TEMPLATEPATH . '/banner468.php'); ?>
  35.  
  36. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  37.  
  38. <div class="singlepost">
  39.  
  40. <div class="post" id="post-main-<?php the_ID(); ?>">
  41.  
  42. <div class="entry">
  43.  
  44. <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>
  45.  
  46. <?php include (TEMPLATEPATH . '/postinfo.php'); ?>
  47.  
  48. <?php if ( get_post_meta( $post->ID, 'video_embed', true ) ) { ?>
  49. <div class="single-video">
  50. <?php echo get_post_meta( $post->ID, 'video_embed', true ); ?>
  51. </div>
  52. <?php } ?>
  53.  
  54. <?php the_content(); ?>
  55.  
  56. <div style="clear:both;"></div>
  57.  
  58. <?php wp_link_pages(); ?>
  59.  
  60. </div>
  61.  
  62. <?php include (TEMPLATEPATH . '/auth-bio.php'); ?>
  63.  
  64. <?php include (TEMPLATEPATH . '/related.php'); ?>
  65.  
  66. <?php comments_template('', true); ?>
  67.  
  68. </div>
  69.  
  70. <?php include (TEMPLATEPATH . "/bot-nav.php"); ?>
  71.  
  72. </div>
  73.  
  74. <?php endwhile; endif; ?>
  75.  
  76. </div>
  77.  
  78. <?php include (TEMPLATEPATH . '/sidebar-narrow.php'); ?>
  79.  
  80. </div>
  81.  
  82. <?php get_sidebar(); ?>
  83.  
  84. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment