WordPress.org

Forums

wp_get_attachment_link() with text only (1 post)

  1. amucklow
    Member
    Posted 6 years 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.wordpress.org/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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags