Title: Remove PDF icon when hyperlinking
Last modified: August 24, 2016

---

# Remove PDF icon when hyperlinking

 *  Resolved [Gijs22](https://wordpress.org/support/users/gijs22/)
 * (@gijs22)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/)
 * Hello
 * I wonder if someone could help me out? When I hyperlink a PDF file to bit of 
   text, a small PDF icon appears on the left of this text.
 * For example: I want people to click on the words: ‘training course’ and when 
   they click on it the PDF file shows up. BUT I do not want to show the PDF icon
   on the left side, if that makes sense.
 * Can anyone please help?
 * Thanks,
 * Gijs
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

Viewing 15 replies - 1 through 15 (of 29 total)

1 [2](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/page/2/?output_format=md)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/#post-6037847)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * TablePress is not adding such an icon, so that it’s likely done automatically
   by your theme.
    Can you please post a link to the page with the table where this
   problem happens, so that I can take a direct look? Thanks!
 * Regards,
    Tobias
 *  Thread Starter [Gijs22](https://wordpress.org/support/users/gijs22/)
 * (@gijs22)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/#post-6037848)
 * Of course, here you go:
 * [http://www.etaprojects.co.uk/site/auth-engineer/](http://www.etaprojects.co.uk/site/auth-engineer/)
 * Thanks!
    Gijs
 *  Thread Starter [Gijs22](https://wordpress.org/support/users/gijs22/)
 * (@gijs22)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/#post-6037850)
 * Oh, well.. Sorry, I have to add the documents first. I took them off since I 
   dont want the icon to be shown..
 * Give me a sec.
 * Gijs
 *  Thread Starter [Gijs22](https://wordpress.org/support/users/gijs22/)
 * (@gijs22)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/#post-6037852)
 * Here you go, should work now:
 * [http://www.etaprojects.co.uk/site/auth-engineer/](http://www.etaprojects.co.uk/site/auth-engineer/)
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/#post-6037853)
 * Hi,
 * thanks, that helps!
 * To remove that icon, you’ll have to modify the HTML code for those links. In
 *     ```
       <a href="..." class="mtli_attachment mtli_pdf">...</a>
       ```
   
 * you will have to remove the
 *     ```
       class="mtli_attachment mtli_pdf"
       ```
   
 * part.
 * Regards,
    Tobias
 *  Thread Starter [Gijs22](https://wordpress.org/support/users/gijs22/)
 * (@gijs22)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/#post-6037856)
 * Hello,
 * Thanks for your reply.
 * Where exactly can I find that HTML code?
 * Gijs
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/#post-6037857)
 * Hi,
 * it should be in the table cells. Or how are you adding the links to the tables?
 * Regards,
    Tobias
 *  Thread Starter [Gijs22](https://wordpress.org/support/users/gijs22/)
 * (@gijs22)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/#post-6037860)
 * Hello,
 * I clicked on ‘add image’ and went for the PDF file.
    The content in the table
   cell says:
 * [Introduction to Electrical Safety Systems in the NHS](http://www.etaprojects.co.uk/site/wp-content/uploads/2015/04/Introduction-to-Electrical-Safety-high-res-for-print.pdf)
 * Thanks,
 * Gijs
 *  Thread Starter [Gijs22](https://wordpress.org/support/users/gijs22/)
 * (@gijs22)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/#post-6037866)
 * Correction,
 * The content in the table cell says:
    [http://www.etaprojects.co.uk/site/wp-content/uploads/2015/04/Introduction-to-Electrical-Safety-high-res-for-print.pd](http://www.etaprojects.co.uk/site/wp-content/uploads/2015/04/Introduction-to-Electrical-Safety-high-res-for-print.pd)
   f
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/#post-6037873)
 * Hi,
 * so you don’t see any
 *     ```
       class="mtli_attachment mtli_pdf"
       ```
   
 * in that HTML?
 * Regards,
    Tobias
 *  Thread Starter [Gijs22](https://wordpress.org/support/users/gijs22/)
 * (@gijs22)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/#post-6037878)
 * Hi Tobias,
 * Nop, not that I am aware of. When I select the cell, the only thing I am seeing
   is what I wrote above!
 * Thanks,
 * Gijs
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/#post-6037901)
 * Hi,
 * can you post the cell content again, wrapped in `and` (backticks0? Otherwise 
   it will be interpreted by the forums software and not shown as code (see also
   the description below the input field where you type your replies here).
 * Regards,
    Tobias
 *  Thread Starter [Gijs22](https://wordpress.org/support/users/gijs22/)
 * (@gijs22)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/#post-6037902)
 * Hi Tobias,
 * Here you go, this is the cell content:
 * ([Introduction to Electrical Safety Systems in the NHS](http://www.etaprojects.co.uk/site/wp-content/uploads/2015/04/Introduction-to-Electrical-Safety-high-res-for-print.pdf))
 * Thanks
 *  Thread Starter [Gijs22](https://wordpress.org/support/users/gijs22/)
 * (@gijs22)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/#post-6037903)
 * Ah, the backticks doesnt work.
 * Lets try it again:
    `<a href="http://www.etaprojects.co.uk/site/wp-content/uploads/
   2015/04/Introduction-to-Electrical-Safety-high-res-for-print.pdf">Introduction
   to Electrical Safety Systems in the NHS</a>`
 * Thanks
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/#post-6037910)
 * Hi,
 * thanks! So that extra HTML is coming from something else. Do you happen to be
   using the MimeTypes Link Icons plugin from [https://wordpress.org/plugins/mimetypes-link-icons/](https://wordpress.org/plugins/mimetypes-link-icons/)?
   That seems to be doing something like that.
 * Regards,
    Tobias

Viewing 15 replies - 1 through 15 (of 29 total)

1 [2](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/page/2/?output_format=md)

The topic ‘Remove PDF icon when hyperlinking’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [hyperlink](https://wordpress.org/support/topic-tag/hyperlink/)
 * [pdf](https://wordpress.org/support/topic-tag/pdf/)

 * 29 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/remove-pdf-icon-when-hyperlinking/page/2/#post-6037976)
 * Status: resolved