- This topic has 5 replies, 2 voices, and was last updated 4 years, 2 months ago by .
- This topic has Not a bug prefix assigned
I hope you’re well.
I was hoping you could add a CSS class to the download, delete, and detach links for the file attachments.
I noticed that the download link looks like this:
<a class download href="http://www.website.com">
Is it supposed to be this?:
<a class="download" href="http://www.website.com">
Including a unique class for the three clickable links would let your plugin users style those links more directly.
For my purposes, I need a class on the link itself to deal with a compatibility issue between GD bbPress Attachments and Slim Stat Analytics. Currently, when one of my users clicks the download link, two copies of the file are pulled down. I need a class on the
itself so I can filter out that click in the analytics program.
Let me know what you think.
Thanks for all your hard work!
- The topic ‘Add a class to download, delete, and detach links’ is closed to new replies.