WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] URL to link? (8 posts)

  1. nli
    Member
    Posted 8 years ago #

    In comments, if I write a full URL it automatically becomes a link. Is there a way to enable that in the posts, too? Perhaps a plugin for that?

  2. moshu
    Member
    Posted 8 years ago #

    Did you check out the Plugins section in the Codex?

  3. nli
    Member
    Posted 8 years ago #

    Yes I did. Was there something that I didn't notice?

  4. Mark (podz)
    Support Maven
    Posted 8 years ago #

    There a couple here:
    http://codex.wordpress.org/Plugins/Links

    You define the term - say "Hotel" and each time you use that word, WP autolinks it for you. That what you meant ?
    http://www.rockschtar.de/wp-plugin-sh-autolink/
    http://rudd-o.com/projects/wp-autolink/

    Or did you mean something else ?

  5. nli
    Member
    Posted 8 years ago #

    No, I'm sorry. That's not what I mean.

    I mean that as in your reply you gave URLs which automatically were transformed into links. The same happens if I post an URL in the comments of my blog.

    However, the same thing does not work in the posts itself. I wonder if there is a way to enable that function for posts, too.

  6. nli
    Member
    Posted 8 years ago #

    Perhaps one could use optional fields to do this?

    If I want an URL in the end of each post, perhaps I could make an optional field for that. Is it possible to apply some rules to those fields, eg. that an URL in the field would automatically be transformed into a link?

  7. nli
    Member
    Posted 8 years ago #

    It can't be that difficult... It already works in comments. What's the magic to make it work also in posts?

    See for instance here (it's my test blog):

    http://www.domnik.net/u/testi/index.php/17/

    The very same URL twice: in the post itself it's not a link but in a comment it is. Why not in post, too?

  8. nli
    Member
    Posted 8 years ago #

    Well, I finally found a plugin for that:

    http://www.coffee2code.com/archives/2004/07/08/plugin-auto-hyperlink-urls/

    I installed it to my test blog and it seems to work.

    There is also some previous discussion about the subject:

    http://wordpress.org/support/topic/8778

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.