Skip to content
WJunction - Webmaster Forum

Little code Change for a Clickable Links in Wordpress (Plugin)

Status
Not open for further replies.
Hmmm.. in my wordpress blog it makes all my links into a clickable link but the problem is it does make a (Space).. like these..

1aae4c3b.png


I want the space to be remove and they will be like these..

Link1
Link2
Link3

here's the plugin code for these.

PHP:
<?php
/*
Plugin Name: Clickable Links
Plugin URI: http://liamparker.com
Description: Makes all links on page clickable.
Version: 1.3
Author: LMP
Author URI: http://liamparker.com/
*/
function makeClickable($content){
$content = make_clickable($content);
return $content;
}
add_filter('the_content', 'makeClickable');
add_filter('the_title', 'makeClickable');
?>

thank you.
 
Status
Not open for further replies.

About the author

R
Banned · Joined
278
Messages
0
Reactions
16
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom