Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function pdf_file_url(){
- global $wp_query;
- $custom = get_post_custom($wp_query->post->ID);
- if($custom['link'][0]){
- echo '<a href="'.$custom['link'][0].'">PDF File:</a>';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement