• Resolved Jason Pelker

    (@jpelker)


    This is a small suggestion for the Media Library columns: Creating a new column that’s provides a link to download the attachment.

    Alternatively, there could be a permalink within the “Full Path” column. The “Actions” column could also use a download button.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jesper van Engelen

    (@engelen)

    Hi Jason!

    Thank you for your suggestion. This sounds like an interesting feature, and I’ve created a feature suggestion issue for it in the Admin Columns Github repository: https://github.com/codepress/admin-columns-issues/issues/618.

    You can follow updates on the status of the feature request over there. Do you urgently need this column? If so, you could consider creating a custom column type for this yourself, provided you have some programming experience. Be sure to let me know in this topic if this is the case, so I can give you a few tips for getting started on this!

    Cheers!
    Jesper

    Thread Starter Jason Pelker

    (@jpelker)

    It wasn’t a complete solution, but I actually edited the built-in media row:

    add_filter('media_row_actions', 'oikos_add_media_file_link', 10, 3);
    function oikos_add_media_file_link( $actions, $post, $detached ) {
      $actions['view'] = wp_get_attachment_link( $post->ID, 'full', false, false, 'Download');
      return $actions;
    }

    I’d still love to see your plugin incorporate download links wherever feasible 🙂 So thank you for adding the suggestion to Github!

    • This reply was modified 7 years, 6 months ago by Jason Pelker.
    • This reply was modified 7 years, 6 months ago by Jason Pelker.
    Plugin Author Jesper van Engelen

    (@engelen)

    Ah, that’s an interesting (and quick) solution as well! Nice :-).

    And no problem, I’m glad you’ve gotten a solution!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Suggestion for Media columns: Download Link’ is closed to new replies.