SHARE
TWEET

WP Clear - BP Template Pack - Top

a guest May 22nd, 2012 64 Never
  1. <?php get_header(); ?>
  2. <?php
  3. global $wp_query;
  4. $postid = $wp_query->post->ID;
  5. if ( get_post_meta( $postid, 'post_featpages', true ) == "Yes" ) { ?>
  6. <?php include (TEMPLATEPATH . '/featured-pages.php'); ?>
  7. <?php } ?>
  8. <?php if ( get_post_meta( $postid, 'post_featcontent', true ) == "Full Width Featured Content Slider"  ) { ?>
  9. <?php include (TEMPLATEPATH . '/featured-wide.php'); ?>
  10. <?php } ?>
  11. <div id="page" class="clearfix">
  12. <div id="contentleft">
  13. <?php if ( get_post_meta( $postid, 'post_featcontent', true ) == "Narrow Width Featured Content Slider" ) { ?>
  14. <?php include (TEMPLATEPATH . '/featured-narrow.php'); ?>
  15. <?php } ?>
  16. <?php if ( get_post_meta( $postid, 'post_featvideo', true ) == "Yes" ) { ?>
  17. <?php include (TEMPLATEPATH . '/featured-vids.php'); ?>
  18. <?php } ?>
  19. <?php if ( get_post_meta( $postid, 'post_featgalleries', true ) == "Yes" ) { ?>
  20. <?php include (TEMPLATEPATH . '/featured-galleries.php'); ?>
  21. <?php } ?>
  22. <div id="content" class="maincontent">
  23. <?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?>
  24. <?php include (TEMPLATEPATH . '/banner468.php'); ?>    
  25. <div class="singlepage">
  26. <div class="post clearfix" id="post-main-<?php the_ID(); ?>">
  27. <div class="entry">
RAW Paste Data
Top