WordPress.org

Ready to get started?Download WordPress

Forums

MimeTypes Link Icons
[resolved] file size not displaying (6 posts)

  1. ewelin
    Member
    Posted 2 years ago #

    Greetings,

    I just installed your plugin and really like how you did the icon's etc. I was noticing that I had the option to display file size enabled, but it appears that doesn't work. It seems like when you migrated the css to the header you never included a way for the filesize css to be displayed. Unless I'm missing something and have to use Asynchronous Replacement, but I thought it would work without it. I also tried Asynchronous Replacement and that didn't seem to do it either.

    http://wordpress.org/extend/plugins/mimetypes-link-icons/

  2. eagerterrier
    Member
    Plugin Author

    Posted 2 years ago #

    @ewelin Glad you like the plugin. I've had a quick look and can't see anything obvious, but like you say, it must be in the migration to separate CSS files.

    I'll take a look at the SVN log to see if I can nail it down. Hope to have something for you before the New Year...

  3. eagerterrier
    Member
    Plugin Author

    Posted 2 years ago #

    @ewelin Blimey, that was more difficult than I had imagined. JS was overwriting the class declaration, so I have used a attribute selector CSS class on the rel instead.

    Works for IE8+ and all other browsers. Will work towards a fuller cross-browser solution in the new year, but hopefully this is fine for the meantime.

    Let me know how you get on.

  4. ewelin
    Member
    Posted 2 years ago #

    Working now on FF. Looks great and it's a really slick implementation. Great job! One suggestion going forward might be to cache the file sizes with a configuration refresh cycle.

  5. ewelin
    Member
    Posted 2 years ago #

    Also, thanks for the prompt reply and solution!

  6. eagerterrier
    Member
    Plugin Author

    Posted 2 years ago #

    @ewelin - great idea. I'm busy for the next 3-5 weeks, but when I come up for air, I'll try and fit this one in. Sounds exciting.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic