Guest User

Untitled

a guest
Jul 26th, 2012
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 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 ) == "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. <?php if(function_exists('the_tags')) { the_tags('<p class="tags"><strong>'. __('Tags', "solostream"). ': </strong> ', ', ', '</p>'); } ?>
  61. <p class="cats"><strong><?php _e('Category', "solostream"); ?></strong>: <?php the_category(', '); ?></p>
  62.  
  63. </div>
  64.  
  65. <?php include (TEMPLATEPATH . '/auth-bio.php'); ?>
  66.  
  67. <?php include (TEMPLATEPATH . '/related.php'); ?>
  68.  
  69. <?php comments_template('', true); ?>
  70.  
  71. </div>
  72.  
  73. <?php include (TEMPLATEPATH . "/bot-nav.php"); ?>
  74.  
  75. </div>
  76.  
  77. <?php endwhile; endif; ?>
  78.  
  79. </div>
  80.  
  81. <?php include (TEMPLATEPATH . '/sidebar-narrow.php'); ?>
  82.  
  83. </div>
  84.  
  85. <?php get_sidebar(); ?>
  86.  
  87. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment