floridabeauties

WP-ClearVideo: index2.php

Jun 14th, 2012
72
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php if (is_home() && get_option('solostream_recent_posts_title')) { ?>
  2. <h2 class="feature-title"><span><?php echo stripslashes(get_option('solostream_recent_posts_title')); ?></span></h2>
  3. <?php } ?>
  4.  
  5. <div class="post-by-2 clearfix">
  6.  
  7. <?php
  8. $count = 1;
  9. if (is_home()) {
  10. $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
  11. query_posts(array(
  12. 'post__not_in' => $do_not_duplicate,
  13. 'paged' => $paged
  14. )); }
  15. if (have_posts()) : while (have_posts()) : the_post();
  16. $totalposts = $my_query->post_count;
  17. $post_class = ('post-left' == $post_class) ? 'post-right' : 'post-left'; ?>
  18.  
  19. <div class="<?php echo $post_class; ?>">
  20.  
  21. <div <?php post_class(); ?> id="post-main-<?php the_ID(); ?>">
  22.  
  23. <div class="entry clearfix">
  24.  
  25. <?php if ( get_post_meta( $post->ID, 'video_embed', true ) ) { ?>
  26. <div class="single-video">
  27. <?php echo get_post_meta( $post->ID, 'video_embed', true ); ?>
  28. </div>
  29. <?php } else { ?>
  30. <a href="<?php the_permalink() ?>" rel="<?php _e("bookmark", "solostream"); ?>" title="<?php _e("Permanent Link to", "solostream"); ?> <?php the_title(); ?>"><?php include (TEMPLATEPATH . "/post-thumb-wide.php"); ?></a>
  31. <?php } ?>
  32.  
  33. <h2 class="post-title"><a href="<?php the_permalink() ?>" rel="<?php _e("bookmark", "solostream"); ?>" title="<?php _e("Permanent Link to", "solostream"); ?> <?php the_title(); ?>"><?php the_title(); ?></a></h2>
  34.  
  35. <?php include (TEMPLATEPATH . "/postinfo.php"); ?>
  36.  
  37.  
  38.  
  39. <?php if ( get_option('solostream_post_content') == 'Excerpts' ) { ?>
  40. <?php the_excerpt(); ?>
  41. <p class="readmore"><a class="more-link" href="<?php the_permalink() ?>" rel="nofollow" title="<?php _e("Permanent Link to", "solostream"); ?> <?php the_title(); ?>"><?php _e("Continue Reading &raquo;", "solostream"); ?></a></p>
  42. <?php } else { ?>
  43. <?php the_content(__("Continue Reading &raquo", "solostream")); ?>
  44. <?php } ?>
  45.  
  46. <div style="clear:both;"></div>
  47.  
  48. </div>
  49.  
  50. </div>
  51.  
  52. </div>
  53.  
  54. <?php if ( $post_class == 'post-right' ) { ?>
  55. <div class="post-clear"></div>
  56. <?php } ?>
  57.  
  58. <?php $count = $count + 1 ?>
  59. <?php endwhile; endif; ?>
  60.  
  61. <?php include (TEMPLATEPATH . "/bot-nav.php"); ?>
  62.  
  63. </div>
RAW Paste Data