Plugin Directory

WP No External Links

Mask all external links - make them internal or hide. On your own posts, comments pages, authors page - no more PR\CY dropping!

Download Version 3.2

How can I exclude my page with links from masking?

Now you just put URLS you need to the exclusion list, or disable masking for concrete post - and everything's OK!!!

How can I mask links in custom field?

You will have to add just a line in theme code where you output custom field data.
To add same preprocessing for data as for comment text, use
$metadata=apply_filters('comment_text',$metadata);
For example, if you use some kind of metadata, it should look like this:
$metadata = get_post_meta($id, 'MetaTagName', true);// get data from wordpress database
$metadata=apply_filters('comment_text',$metadata);// add this line of code for preprocessing field value
echo $metadata;//output preprocessed field value

That's if you want to mask links in custom field like in comments text. Use "the_content" instead of "comment_text" if you want to use the same masking policy as for post text.

Requires: 2.6 or higher
Compatible up to: 3.1.4
Last Updated: 2011-5-13 Downloads: 73,888

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(32 ratings)

Compatibility

+
=
Not enough data

2 people say it works.
0 people say it's broken.

Log in to vote.

100,1,1
100,1,1 67,3,2
67,3,2 100,1,1
67,3,2
75,4,3
75,4,3
75,4,3 100,2,2 100,1,1 100,1,1 100,1,1 100,2,2
100,1,1
100,1,1 100,2,2
100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,2,2 100,2,2
100,1,1
50,2,1
100,2,2