Support » Plugin: MimeTypes Link Icons » No icon when a link and text present (repro steps included!)

  • Resolved ts_sklett

    (@ts_sklett)


    I REALLY want this plugin to work so that I can get rid of all my inline <img> tags in my pages and posts. However, the icons would not show up on some pages. I started troubleshooting and found a good test case. It appears that when a certain length of text is included in addition to a tag the icon will not show up. Delete a few words and the icon shows up. Odd, I know.

    Here is page content that WILL show the icon:

    <a href="www.google.com">Google</a>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
    
    <a title="test #1" href="http://www.fakedomain.com/not-real-file.pdf">Icon link test #1</a>

    And here is page content that will not (not: all I did was delete a few bits of lorem ipsum text):

    <a href="www.google.com">Google</a>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse 
    
    <a title="test #1" href="http://www.fakedomain.com/not-real-file.pdf">Icon link test #1</a>

    I hope these steps behave the same on your end when you test them. I’m using a custom theme with WordPress version 3.6.1

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • I tried activate the asynchronous updates option and it still does not work.

    Plugin Contributor jrf

    (@jrf)

    Hiya,

    Sorry for my slow reply, was away to a conference. Thanks for your detailed bug report, I hope to be able to test this later today and get back to you.

    Smile,
    Juliette

    Plugin Contributor jrf

    (@jrf)

    Never mind, thought I might as well test it straight away.

    I’ve tested both snippets and they both work for me. Using WP 3.6.1 with the default Twenty Thirteen theme.

    Could you test with the Twenty Thirteen theme ? or give me a link where I can see the supposed bug ?

    ts_sklett

    (@ts_sklett)

    Hi,
    Due to lack of experience with WordPress and this being my production site I’m uncomfortable changing the themes. I will read up on this topic and try to determine how safe (or not) it is.

    In the meantime I have created two testing pages that show the problem, I hope this will be valuable to you. Let me know if it’s not and I will read up on theme-changing faster! 🙂

    Page that works
    Page that doesn’t work

    -Steve

    esmi

    (@esmi)

    There is no magic bullet in these situations. This is just the start of basic troubleshooting and is a process of elimination deliberately designed to locate the root cause as quickly as possible by first removing the most obvious and common culprits via a series of (often) temporary steps.

    Your theme & plugin settings are saved in your database and should be retained for future use.

    ts_sklett

    (@ts_sklett)

    @esmi – I interpret your response as “We need you to test the theme” and I have. I changed to the standard twentythirteen theme and the problems persists. Here are some screen shots confirming:

    Working example
    Non working example

    Plugin Contributor jrf

    (@jrf)

    @ts_sklett,

    Thanks for testing that and sending me the links. I can see what the problem is, i.e.: the classes the plugin needs to add the icons are not being added to the link in the second example.

    As I’m still not able to reproduce this issue and I would very much like to help you solve this, would you be willing to let me have (temporary) access to your install to test a few things ?

    If so, please contact me via email AT adviesenzo DOT nl

    Smile,
    Juliette

    ts_sklett

    (@ts_sklett)

    Email sent. I’m assuming the first part of the address is your 3 character username?

    ts_sklett

    (@ts_sklett)

    Issue resolved by JRF and should be included with future updates – thanks for the great support!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘No icon when a link and text present (repro steps included!)’ is closed to new replies.