SHARE
TWEET

Untitled

a guest Jan 9th, 2013 187 Never
  1. <?php
  2. $post_id = 158;
  3. $queried_post = get_post($post_id);
  4. ?>
  5. <a href="<?php echo get_permalink(158); ?>"><div class="featuredwork">
  6. <h3><?php echo $queried_post->post_title; ?></h3>
  7. <?php echo get_post_meta( 158, 'main_photo', true );?>
  8. </div></a>
RAW Paste Data
Top