Create Not-clickable link in Comment section

Community Forums Forums General Discussion Create Not-clickable link in Comment section

This topic is: resolved

This topic contains 3 replies, has 2 voices, and was last updated by  AC 1 year, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7620

    jaychan
    Participant
    Post count: 5

    Hello,

     

    By wordpress default when I paste a link in comment it will automatic clickable. Now I want to disable that function and make it as normal text.

    There have anyway to do that.

     

    Thank you very much. :)

    #7630

    AC
    Blocked
    Post count: 7712

    I found this on the net – http://www.wprecipes.com/wordpress-hack-remove-autolinks-in-comments. The instructions say to add this to your functions.php file, but read the instructions.

    remove_filter(‘comment_text’, ‘make_clickable’, 9);

    #7633

    jaychan
    Participant
    Post count: 5

    Amazing, it worked. :D

    Thank you very much.

    #7634

    AC
    Blocked
    Post count: 7712

    You’re welcome.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Create Not-clickable link in Comment section’ is closed to new replies.