Advertisement
Guest User

samepostsonpage2

a guest
Apr 22nd, 2012
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <div id="content">
  4.  
  5. <div class="postsbody">
  6. <?
  7. global $options;
  8. foreach ($options as $value) {
  9. if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
  10. }
  11. ?>
  12.  
  13.  
  14.  
  15.  
  16. <div class="featured">
  17. <h2>Latest Videos</h2>
  18. <div style="padding:15px 0 15px 20px;">
  19.  
  20.  
  21.  
  22. <?php $recent = new WP_Query("cat=-<? echo $wt_featured; ?>&showposts=20"); while($recent->have_posts()) : $recent->the_post();?>
  23.  
  24.  
  25.  
  26.  
  27. <div class="videopart">
  28.  
  29.  
  30.  
  31. <div class="thumbnail">
  32.  
  33. <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><img src="<?php echo get_post_meta($post->ID, "thumb", true); ?>" width="120" height="90" alt="<?php the_title(); ?>" /></a>
  34.  
  35. </div>
  36.  
  37. <div class="frost">
  38.  
  39. <h3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
  40. <p><?php if(function_exists('the_views')) { the_views(); } ?></p>
  41. <p><?php if(function_exists('the_ratings')) { the_ratings(); } ?></p>
  42.  
  43. </div>
  44.  
  45. </div>
  46. <?php endwhile; ?>
  47.  
  48. </div>
  49.  
  50.  
  51.  
  52. </div>
  53.  
  54.  
  55. </div>
  56.  
  57.  
  58.  
  59. <?php include (TEMPLATEPATH . '/sidebar_right.php'); ?>
  60.  
  61. </div>
  62.  
  63. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement