SHARE
TWEET

Untitled

a guest Sep 30th, 2011 470 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top