How to make clickable the URL’s on comments area?

4.49K viewsWordPress
0

Hi!!

I want to make clickable the URL’s on the comments/answers.

If I write in my functions.php the following:

add_filter( 'comment_text', 'make_clickable');

doesn’t work.

If I write:

add_filter( 'the_content', 'make_clickable');

works, but also make clickable in the question area, and I only want the answers/comments section.

There is a way to do it?

Thanks.

0

Links in comments are automatically converted to anchor tag, you do not need to filter them.

I tried changing the theme, and also in a fresh installation, but links are not converted.

Example of fresh installation: http://pruebas.akb48forever.com/wp/questions/question/adfasdfasdfsdafsdfasdf/

Links in questions and answers should be automatically converted as well.

You are viewing 1 out of 1 answers, click here to view all answers.