This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

single-review.php

By: a guest on Aug 6th, 2012  |  syntax: PHP  |  size: 2.35 KB  |  views: 360  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php get_header(); ?>
  2.  
  3. <div id="left">
  4.         <?php if (have_posts()) : ?>
  5.         <?php while (have_posts()) : the_post(); ?>
  6.         <?php comments_template( '', true ); ?>
  7.                
  8.                 <div class="post" id="post-<?php the_ID(); ?>">
  9.                         <div class="title">
  10.                                 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
  11.                                 <div class="postmeta">  <span>Posted by <?php the_author_posts_link(); ?></span> | <span><?php the_time('l, n F Y'); ?></span> | <span><?php echo get_the_term_list( $post->ID, 'console', '', ', ', '' ); ?></span> </div>
  12.                         </div>
  13.                
  14.                         <div class="entry">
  15.                        
  16.                                         <?php the_post_thumbnail( 'post_image', array('class' => 'postim') ); ?>
  17.                                         <?php the_content('Read the rest of this entry &raquo;'); ?>
  18.  
  19.                                        
  20.                                         <div class="ratebar clearfix"> <span class="ratehead">Plot/Story</span> <span class="ratevalue"><?php echo get_post_meta($post->ID, 'WTF_gameplay', true) ?></span> <span class="rbar rate-<?php echo get_post_meta($post->ID, 'WTF_gameplay', true) ?> "></span></div>
  21.                                         <div class="ratebar clearfix"> <span class="ratehead">Visuals</span> <span class="ratevalue"><?php echo get_post_meta($post->ID, 'WTF_graphics', true) ?></span> <span class="rbar rate-<?php echo get_post_meta($post->ID, 'WTF_graphics', true) ?> "></span></div>
  22.                                         <div class="ratebar clearfix"> <span class="ratehead">Cast</span> <span class="ratevalue"><?php echo get_post_meta($post->ID, 'WTF_audio', true) ?></span> <span class="rbar rate-<?php echo get_post_meta($post->ID, 'WTF_audio', true) ?> "></span></div>
  23.                                         <div class="ratebar clearfix"> <span class="ratehead">Production</span> <span class="ratevalue"><?php echo get_post_meta($post->ID, 'WTF_product', true) ?></span> <span class="rbar rate-<?php echo get_post_meta($post->ID, 'WTF_product', true) ?> "></span></div>
  24.                                         <div class="ratebar clearfix"> <span class="ratehead">Overall</span> <span class="ratevalue"><?php echo get_post_meta($post->ID, 'WTF_overall', true) ?></span> <span class="rbar rate-<?php echo get_post_meta($post->ID, 'WTF_overall', true) ?> "></span></div>
  25.                                        
  26.                                         <div class="clear"></div>
  27.                                         <?php wp_link_pages(array('before' => '<p><strong>Pages: </strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  28.                         </div>
  29.                 </div>
  30.         <?php endwhile; endif; ?>      
  31. </div>
  32.  
  33.  
  34. <?php get_sidebar(); ?>
  35. <?php get_footer(); ?>
clone this paste RAW Paste Data