1. <?php if (have_posts()) : while (have_posts()) : the_post();
  2. if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
  3. <div class="home-post-wrap-3">
  4. <h1 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
  5.  
  6. <!-- BEGIN SHARETHIS NAVBAR &nbsp;&nbsp;&nbsp;
  7. <a id="ck_facebook" class="stbar chicklet" href="javascript:void(0);"><img src="http://w.sharethis.com/chicklets/facebook.gif" /></a>
  8. <a id="ck_twitter" class="stbar chicklet" href="javascript:void(0);"><img src="http://w.sharethis.com/chicklets/twitter.gif" /></a>
  9. <a id="ck_sharethis" class="stbar chicklet" href="javascript:void(0);"><img src="http://w.sharethis.com/chicklets/sharethis.gif" />ShareThis</a>
  10. <script type="text/javascript">
  11. var shared_object = SHARETHIS.addEntry({
  12. title: document.title,
  13. url: document.location.href
  14. });
  15.  
  16. shared_object.attachButton(document.getElementById("ck_sharethis"));
  17. shared_object.attachChicklet("facebook", document.getElementById("ck_facebook"));
  18. shared_object.attachChicklet("twitter", document.getElementById("ck_twitter"));
  19. </script>
  20. END SHARETHIS NAVBAR -->
  21.  
  22. <div class="post-info">Posted by <?php the_author() ?> in <?php the_category(', ') ?> on <?php the_time('M jS, Y') ?> | <a href="#respond" title="<?php _e("Leave a comment"); ?>"><?php comments_number('no responses','one response','% responses'); ?></a></div>
  23. <div class="rule"></div>
  24. <div style="clear: both;"></div>
  25. <?php if (get_option('artsee_thumbnails') == 'Hide') { ?>
  26. <?php { echo ''; } ?>
  27. <?php } else { include(TEMPLATEPATH . '/includes/thumbnail.php'); } ?>
  28. <?php the_content(); ?>
  29. </div>
  30. <?php endwhile; ?>
  31.  
  32. <div style="clear: both;"></div>
  33.  
  34. <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
  35. else { ?>
  36. <p class="pagination"><?php next_posts_link('&laquo; Previous Entries') ?> <?php previous_posts_link('Next Entries &raquo;') ?></p>
  37. <?php } ?>
  38.  
  39. <?php else : ?>
  40.  
  41. <!--If no results are found-->
  42. <h1>No Results Found</h1>
  43. <p>The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.</p>
  44. <!--End if no results are found-->
  45.  
  46. <?php endif; ?>