Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] How can I automatically change a URL into a link? (http://forum.bytesforall.com/showthread.php?t=10583)

jkgourmet Oct 22, 2010 07:40 PM

[SOLVED] How can I automatically change a URL into a link?
 
This new site will include a large number of www.URL.com addresses in the posts and pages. Rather than using the Insert Link for every one, is there anyway that I can tell WP or Atahualpa to do this automatically every time it sees a www? If so, can I STILL override that by using the Insert Link (for example, when I have an affiliate link)?

I found this on Codex, and tried to put it into CSS inserts, but it doesn't seem to do anything, or maybe I put it in the wrong place?

<?php make_clickable( $ret ) ?>

Also found this:

This function is make_clickable(). It works with URI, www, ftp, and email addresses. So, to linkify post content, just add the following code into your functions.php file:

add_filter('the_content', 'make_clickable');

Thanks, guys.

lmilesw Oct 22, 2010 08:09 PM

I went to WordPress.org and typed auto hyperlink into the search and came up with the Autolink URI plugin which does what you want. That's usually the best place to start for added functionality.

jkgourmet Oct 24, 2010 05:31 PM

My hero. Thanks. I looked for a plug in, but apparently didn't use the correct keywords. :o


All times are GMT -6. The time now is 03:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.