floridabeauties

WP-ClearVideo: index1.php

Jun 14th, 2012
65
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. <?php
  6. if (is_home()) {
  7. $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
  8. query_posts(array(
  9. 'post__not_in' => $do_not_duplicate,
  10. 'paged' => $paged
  11. )); }
  12. if (have_posts()) : while (have_posts()) : the_post(); ?>
  13.  
  14. <div <?php post_class(); ?> id="post-main-<?php the_ID(); ?>">
  15.  
  16. <?php if ( get_post_meta( $post->ID, 'video_embed', true ) ) { ?>
  17. <div class="single-video">
  18. <?php echo get_post_meta( $post->ID, 'video_embed', true ); ?>
  19. </div>
  20. <?php } else { ?>
  21. <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>
  22. <?php } ?>
  23.  
  24. <div class="entry clearfix">
  25.  
  26. <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>
  27.  
  28. <?php include (TEMPLATEPATH . "/postinfo.php"); ?>
  29.  
  30. <?php if ( get_option('solostream_post_content') == 'Excerpts' ) { ?>
  31. <?php the_excerpt(); ?>
  32. <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>
  33. <?php } else { ?>
  34. <?php the_content(__("Continue Reading &raquo;", "solostream")); ?>
  35. <?php } ?>
  36.  
  37. <div style="clear:both;"></div>
  38.  
  39. </div>
  40.  
  41. </div>
  42.  
  43. <?php endwhile; endif; ?>
  44.  
  45. <?php include (TEMPLATEPATH . "/bot-nav.php"); ?>
RAW Paste Data