Make Any Links Clickable in WordPress with One-Line Code

Category: Tutorials

Make Any Links Clickable in WordPress with One-Line Code

 

First, go to Appearance > Editor

Edit your theme's functions.php (Theme Functions)

Add this code before the last " ?> " 

 

 

add_filter('the_content''make_clickable'9);

 

Backup your functions.php before you do this!

Some themes won't work if it is too old, works in most themes!



Source:

  • Views: 706
  • Date: 11-04-2011, 20:46
  • Share:
Who read this article:(2)

{popupx}