If I post in twitter and past a URL, it auto shortens it and makes it clickable.
How can I do this in my WP?
If I post in twitter and past a URL, it auto shortens it and makes it clickable.
How can I do this in my WP?
You could write a content_save_pre filter to find and modify the URL. Probably not a super easy job, though.
Thanks for the reply, I kind of thought it would be quite involved.
However I did find a plugin to turn text URLs in to HREFs.
http://wordpress.org/extend/plugins/auto-hyperlink-urls/
So that's a solution to one part of my problem.
Thanks for the tip. If you can give me a couple examples of how you need the url shortened, it might be possible to tweak the code in the plugin to do that also.
This topic has been closed to new replies.