Forums

Shorten URLs and make clickable (4 posts)

  1. theMaab
    Member
    Posted 2 years ago #

    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?

  2. vtxyzzy
    Member
    Posted 2 years ago #

    You could write a content_save_pre filter to find and modify the URL. Probably not a super easy job, though.

  3. theMaab
    Member
    Posted 2 years ago #

    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.

  4. vtxyzzy
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.