Advertisement
Guest User

Untitled

a guest
Jan 9th, 2013
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement