how view pdf in custom field through download link

Solutions on MaxInterview for how view pdf in custom field through download link by the best coders in the world

showing results for - "how view pdf in custom field through download link"
Vance
29 Apr 2017
1/* use this code for field name  not for sub field */		
2      <div>  
3        <?php 		
4		$file=get_field('fifth_content');  
5		?>
6	    <a href="<?php echo $file; ?>">Download File</a> 
7      </div>