When I Insert media into my post or page it's rendered as a normal link.

Would it be possible to somehow theme links that point to e.g. PDF or other file types?

1 Answer 1


I think the easiest way would be doing this with jQuery:


  • It seems to be the best/easiest solution.
    – Luke
    Dec 7, 2011 at 18:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.