Automatically Turn URLs To Links on WordPress

Over at BlogEnergizer, our premium members are always welcome to submit their goodies, contests and any activities they are doing for other members to discover and blog about. We want to make posting as quick and simple as possible for them. So that when they paste a URL, they won’t have to link it. Initially, I thought I’d have to get a plugin to do it. But thankfully I found out, that’s not necessary! I don’t like to install too many plugins anyway.

Thanks to Otto, the knowledgeable moderator at WordPress.org, I found out WordPress actually has this capability. You only need to add this code to your active theme’s functions.php file.  Yay!

add_filter('the_content', 'make_clickable',9);
Scroll to Top