Only showing icons on posts, not pages
-
I am using WordPress 5.3.2, with the most up-to-date version of the plugin (3.2.8) and I only see the Mimetype icons added to document links on posts, but not pages. I’ve run debugging but no errors are showing. Basically, on Pages, the attribute is not being appended with the attachment class.
Page example –
a href=”https://domain/wp-content/uploads/2020/01/document.docx” rel=”mtli_filesize58kB” Document name /aPost example –
a href=”https://domain/wp-content/uploads/2020/01/document.docx” rel=”mtli_filesize58kB” class=”mtli_attachment mtli_docx” Document name /a
*I’ve removed the attribute brackets so you can see the HTMLIs there anything I can do to add the attachment class to links on Pages?
- The topic ‘Only showing icons on posts, not pages’ is closed to new replies.