Posted By

matthews1193 on 03/07/11


Tagged

wordpress help


Versions (?)

Index Preview


 / Published in: PHP
 

URL: http://www.techteenager.net

  1. <!-- Post Starts -->
  2. <div <?php post_class(); ?>>
  3.  
  4. <?php woo_image('width='.$woo_options['woo_thumb_w'].'&height='.$woo_options['woo_thumb_h'].'&class=thumbnail '.$woo_options['woo_thumb_align']); ?>
  5.  
  6. <h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
  7.  
  8. <?php woo_post_meta(); ?>
  9.  
  10. <div class="entry">
  11. <?php global $more; $more = 0; ?>
  12. <?php if ( $woo_options['woo_post_content'] == "content" ) the_content(__('<br /><br /><img src="http://www.techteenager.net/wp-content/themes/TTN%20Advanced/images/more3.png">')); else the_excerpt(); ?>
  13.  
  14. <a href="http://digg.com/submit?url=<?php the_permalink(); ?>&amp;title=<?php the_title(); ?>" target="_blank" title="Digg this!"><img src="<?php bloginfo('template_directory'); ?>/images/ico-digg.png" alt="" /></a>
  15. <a href="http://twitter.com/home/?status=<?php the_title(); ?> - <?php the_permalink(); ?>" target="_blank" title="Tweet this!"><img src="<?php bloginfo('template_directory'); ?>/images/ico-twitter.png" alt="" /></a>
  16. <a href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&amp;t=<?php the_title(); ?>" target="_blank" title="Share on Facebook."><img src="<?php bloginfo('template_directory'); ?>/images/ico-facebook.png" alt="" /></a>
  17.  
  18. </div>
  19. <div class="fix"></div>
  20.  
  21. <div class="post-more">
  22. <!-- <span class="comments"><?php comments_popup_link(__('Leave a comment', 'woothemes'), __('1 Comment', 'woothemes'), __('% Comments', 'woothemes')); ?></span> -->
  23. <?php if ( $woo_options['woo_post_content'] == "excerpt" ) { ?>
  24. <span class="post-more-sep">&bull;</span>
  25. <span class="read-more"><a href="<?php the_permalink() ?>" title="<?php _e('Continue Reading &rarr;','woothemes'); ?>"><?php _e('Continue Reading &rarr;','woothemes'); ?></a></span>
  26. <?php } ?>
  27. </div>
  28.  
  29. </div><!-- /.post -->

Report this snippet  

You need to login to post a comment.