Guest User

Untitled

a guest
Sep 30th, 2011
558
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. function pdf_file_url(){
  3. global $wp_query;
  4. $custom = get_post_custom($wp_query->post->ID);
  5. if($custom['link'][0]){
  6. echo '<a href="'.$custom['link'][0].'">PDF File:</a>';
  7. }
  8. }
  9.  
RAW Paste Data