WordPress.org

Ready to get started?Download WordPress

Forums

MimeTypes Link Icons
[resolved] Draft & Preview - no icons shown, asynch fails (10 posts)

  1. RobSay
    Member
    Posted 3 years ago #

    Hi Toby - thanks for this plugin - very simple and effective.

    I've got an interesting little niggle for you tho' - not a showstopper by any means..

    When working with a draft post with PDF links in I view the post and the icons are not displayed. No errors, anchor element picks up two new mlti classes. I checked to see if it was the theme by switching to asynchronous but this replaced the hyperlink with no file information.

    When I publish file all is well and the icons work fine in synchronous and asynchrounous modes

    cheers

    Rob

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

  2. RobSay
    Member
    Posted 3 years ago #

    Hi just - been doing some double-checking and it's a bit more importnat than I thought.

    Icons show in post list pages (blog/tag/category) but aren't shown on full post pages.

    Compare most recent article (icon shown) on June archive:
    http://milecastle27.co.uk/rob/2011/06/
    with full page view of article ( no icon):
    http://milecastle27.co.uk/rob/2011/06/jock-wilson-of-fenton/

    cheers

    Rob

  3. eagerterrier
    Member
    Plugin Author

    Posted 3 years ago #

    RobSay,

    Glad you like the plugin and sorry about the problems you are experiencing.

    The CSS gets called from the content hook, which is fine for both scenarios. What I imagine is that the social media plugin is messing with it.

    Can you turn off that plugin and confirm this for me?

    If this is the case, I can add the CSS to the top of the page in the get_header hook when the async functionality is turned on, or there may be another global solution that I can work on...

  4. RobSay
    Member
    Posted 3 years ago #

    Hi Toby - no change there with social media plugin turned off.

    Only other active plugin is audioplayer (2.0.4.1) and that doesn't change behaviour either

    cheers

    Rob

  5. eagerterrier
    Member
    Plugin Author

    Posted 3 years ago #

    Hmm, weird

    OK - I'll do a few tests and try to release a new version early next week. I suspect there is a plugin conflict problem somewhere along the way, so I should make the plugin more independent.

    Speak soon

    TC

  6. eagerterrier
    Member
    Plugin Author

    Posted 3 years ago #

    @robsay - can you try this?

    take this file -

    http://www.eagerterrier.co.uk/@robsay.zip

    unzip it. Replace your current

    /wp-content/plugins/mimetypes-link-icons/mime_type_link_images.php file with the one in this folder?

    Let me know how you get on...

  7. RobSay
    Member
    Posted 3 years ago #

    That does the trick - nice. Checked on:

    • Blog
    • Single Post view
    • Category & Tag lists
    • Draft & Preview changes

    File size looks like it's sorted as well.

    looks good to go.

  8. eagerterrier
    Member
    Plugin Author

    Posted 3 years ago #

    Great - This will be part of 2.0, which will include adding filesizes to the link with CSS.

    ie instead of

    {icon here} the text of your hyperlink here

    It will now read:

    {icon here} the text of your hyperlink here (2.7Mb)

    I'll release it tomorrow. Need to test a few thing before the launch

  9. eagerterrier
    Member
    Plugin Author

    Posted 3 years ago #

    @RobSay - this is now released as part of 2.0.0

    Should be available in the next couple of hours

  10. RobSay
    Member
    Posted 3 years ago #

    Installed and working - thanks for the swift turnaround.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic