Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 2nd, 2012  |  syntax: None  |  size: 0.35 KB  |  views: 29  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <div class="post-item">
  2. <img src="<?php $thumb = get_post_custom_values('post-image'); echo bloginfo('url') . '/' . $thumb[0]; ?>" alt="<?php the_title(); ?>" />
  3. <h2> <a href="<?php the_permalink(); ?>"> <?php the_title(); ?> </a></h2>
  4. <p class="meta"> posted by <?php the_author();?> on <?php the_date(); ?> </p>
  5. <?php the_content('read more...'); ?>
clone this paste RAW Paste Data