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  anitac 1 year, 7 months ago.

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

    jaychan
    Participant
    Post count: 4

    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

    anitac
    Participant
    Post count: 7032

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


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

    #7633

    jaychan
    Participant
    Post count: 4

    Amazing, it worked. :D

    Thank you very much.

    #7634

    anitac
    Participant
    Post count: 7032

    You’re welcome.


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

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

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