• I am trying to figure out whether its possible to convert the url’s in a post to actual links. If someone know anything about this, it would be greatly appreciated.

    Cheers

Viewing 6 replies - 1 through 6 (of 6 total)
  • Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    Sure, a plugin could be easily written to do that… but why can’t you just type the a href= …?

    I’m pretty sure I’ve seen a plugin that does that.

    Thread Starter wsmokah

    (@wsmokah)

    @hallsofmontezuma: It’s because I’m going to have about 10-25 links in each post that I make. And I’m going to be making about 50+ posts in less than a week!

    @boober: After doing some searching around, I found a plugin called MightyLinker. But it doesnt work with WP 2.5. Here’s the link to it: https://mightyhitter.com/main-page/plugins/mightylinker

    If anyone can make it compatible with WP 2.5, that would be greatly appreciated!

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Or just add this to your theme’s functions.php file:
    add_filter('the_content', 'make_clickable',9);

    wsmokah: While I do see your point, if you’re going to have that many links, wouldn’t you want them to link from actual words and content? Having blunt URLs seems like it would be less pretty.

    Thread Starter wsmokah

    (@wsmokah)

    @otto42: This is just temporary. I need to meet a deadline to get my blog back up and running very soon. I am going to be changing these links once everything is running and when I have more time.

    Thank you for that code, it really helped! I want to make the url’s open in a new window. How would I do that?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    I want to make the url’s open in a new window. How would I do that?

    Not to be annoying or anything, but ideally, you would not do that. It’s not a nice thing to do. Let people choose whether they want to do that themselves.

    Also, the “target” attribute is deprecated in XHTML, so there is no valid way to do it other than browser-dependent javascript.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to Automatically turn Links into URL’s?’ is closed to new replies.