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  Anita 1 year, 8 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

    Anita
    Participant
    Post count: 7524

    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);


    When asking for help, please provide a link or screen shot showing your problem!
    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me!

    #7633

    jaychan
    Participant
    Post count: 5

    Amazing, it worked. :D

    Thank you very much.

    #7634

    Anita
    Participant
    Post count: 7524

    You’re welcome.


    When asking for help, please provide a link or screen shot showing your problem!
    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me!

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

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