SHARE
TWEET

Untitled

a guest Mar 11th, 2014 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $link = get_bloginfo('url')."?attachment_id=".$attach_id;
  2.  
  3. how to get this to pull "File URL" as the "$link" instead of the attachment url?
  4.  
  5. This is because when image is uploaded it calls to echo "$link"... Instead of displaying the file's (image) attachment page url, I want it to display the actual URL to the direct file (photo's url)
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