Forums
Forums / Themes and Templates / wp_get_attachment_link() with text only
(@amucklow)
17 years, 3 months ago
Hi
I’m trying to use wp_get_attachment_link() to return a hyperlink only to the attachment. I don’t want a thumbnail. Even though the codex here:
http://codex.ww.wp.xz.cn/Template_Tags/wp_get_attachment_link
says in option 3 you can have text only, I don’t understand how to add a parameter accordingly. The default option seems to be to display a thumbnail.
Thanks
The topic ‘wp_get_attachment_link() with text only’ is closed to new replies.