WordPress.org

Support

Support » How-To and Troubleshooting » How do I display permalinks of files in the Media Library

How do I display permalinks of files in the Media Library

  • marc0047

    @marc0047

    I can’t seem to find a function/method to display all the files in the Media Library as permalinks. Does such a function exist?

    Any good links to point the way would be great!

Viewing 2 replies - 1 through 2 (of 2 total)
  • If I need to link directly to an actual file that’s been uploaded in the media library, I go to MANAGE>MEDIA LIBRARY which lists all the uploaded files. I mouse over/right-click the thumbnail of the file (left most column) and “copy link location.”

    It will be something like this > http://www.domain.com/wp-content/uploads/2008/09/filename.jpg

    I find this very useful for documents (e.g. PDFs) that I want readers to access/download.

    marc0047

    @marc0047

    @abelq: That’s helpful, thank you!

    However, I need the files list output automatically to save on time if, for example, I have 5-10 files per post.

    Anyone else with a tip on how to do this automatically?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I display permalinks of files in the Media Library’ is closed to new replies.