WordPress.org

Ready to get started?Download WordPress

Forums

How do I display permalinks of files in the Media Library (3 posts)

  1. marc0047
    Member
    Posted 5 years ago #

    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!

  2. abelq
    Member
    Posted 5 years ago #

    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.

  3. marc0047
    Member
    Posted 5 years ago #

    @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?

Topic Closed

This topic has been closed to new replies.

About this Topic