WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Link File Info

Display file type and size after links to local media files in posts.

For posts, any links to local media (images, documents, etc.) will automatically have the file type and size appended in parentheses, so visitors to your blog will know what they're about to download when they click links to media.

Notes:

  • Requires PHP 5+
  • Only applies for full posts, not comments or post excerpts.
  • Specifically only works for media files uploaded using WordPress' media upload function (i.e. files in the wp-uploads directory).
  • Parses every post through DOMDocument on view, so unlikely to be wildly efficient.
  • Link parsing might be a bit rough - needs more extensive testing.
  • Invokes the 'file' program to figure out file types, which gives very pretty and accurate output, but again probably isn't very efficient.
Tags: , , , ,

Requires: 2.8 or higher
Compatible up to: 2.8.4
Last Updated: 2009-10-1
Downloads: 660

Ratings

3 stars
3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0