There are a time we need to put some URL on our WordPress content and make this content clickable. We need to added the link manually or using WYSIWG menu. And this is real pain if we must do this each time we add URL.

Did you know that, WordPress offering functions to make this pain jobs more easier? All need to do is activated the function and let’s WordPress do all the pain jobs ;) The Functions is make_clickable() and you can find out more here http://codex.wordpress.org/Function_Reference/make_clickable.

To use this functions automatically is easier, we only need added extra code on functions.php to filter post_content().

1
add_filter('the_content', 'make_clickable');

That’s it, now your Post Content URL will be automatically clickable. This functions convert URI, www, ftp, and email addresses.

Leave a comment