- $link = get_bloginfo('url')."?attachment_id=".$attach_id;
- how to get this to pull "File URL" as the "$link" instead of the attachment url?
- 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)
a guest Mar 11th, 2014 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data