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
(@gijs22)
Thread Starter
Gijs22
(@gijs22)
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
(@gijs22)
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
(@gijs22)
Hello,
Thanks for your reply.
Where exactly can I find that HTML code?
Gijs
Hi,
it should be in the table cells. Or how are you adding the links to the tables?
Regards,
Tobias
Thread Starter
Gijs22
(@gijs22)
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
Thanks,
Gijs
Thread Starter
Gijs22
(@gijs22)
Hi,
so you don’t see any
class="mtli_attachment mtli_pdf"
in that HTML?
Regards,
Tobias
Thread Starter
Gijs22
(@gijs22)
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
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
(@gijs22)
Hi Tobias,
Here you go, this is the cell content:
(Introduction to Electrical Safety Systems in the NHS)
Thanks
Thread Starter
Gijs22
(@gijs22)
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
Hi,
thanks! So that extra HTML is coming from something else. Do you happen to be using the MimeTypes Link Icons plugin from https://ww.wp.xz.cn/plugins/mimetypes-link-icons/ ? That seems to be doing something like that.
Regards,
Tobias