Open mread1208 opened 8 years ago
Go ahead and keep this assigned to me. I might redo this whole concept with a [fa] or [icon] shortcode and allow people to use whatever they want. This is a very very old piece of code, going back to WC-Core, and it actually loaded a pdf icon image.
Wow, yea that is going way back. Yea feel free to do with it what you want, I just didn't want to rework it in case you were using this shortcode on older themes.
I don't think the pdf-icon shortcode is working. The shortcode function isn't receiving the url parameter that we're setting in the TinyMCE button. Along with that, the content is being wrapped inside of a
<div>
, shouldn't this be wrapped in an<a>
tag? Lastly, thefa-pdf-icon-o
doesn't appear to be showing. I can go in and fix all this issue, but I'm not sure if this shortcode was built like this on purpose (for older sites that use this theme), or if it needs to be re purposed.Let me know how I should proceed.