Archive for the ‘Tutorial’ Category

Disable link in comment form WordPress

Friday, December 17th, 2010

A couple months ago, I had post about how to disable external link in post content. A this time I will show you how to disable all link in comments form without plugin. You know, too many spammer on the net, most of them fill your comment box with hundred comments and links. Here step by step how to disable link in comment for WordPress blog:

1. Open you functions.php (Theme Functions) file in your theme.
2. Put this code on the top after code <?php

remove_filter('comment_text', 'make_clickable', 9);
add_filter('comment_text', 'wp_filter_nohtml_kses');
add_filter('comment_text_rss', 'wp_filter_nohtml_kses');
add_filter('comment_excerpt', 'wp_filter_nohtml_kses');

3. Save it.

All is done. Now you can test your comment form. Have work!

Rating 4.50 out of 5
[?]

Disable Outgoing Links Post WP Plugin

Monday, August 23rd, 2010

I’d just create plugin that use for disable outgoing link in your blogpost. This plugin work with exclude internal link and will be disable of external link. Just upload the plugin in your blog plugin root directory and activate it. I just recommend to use this plugin if you don’t need to put outgoing link to your post. Just try it!

Download WordPress Plugin Disable Outgoing Links Post

Rating 3.00 out of 5
[?]